W 3.1.0
Plik:
admin/applications/forums/sources/classes/post/classPost.php
Zamieniasz:
if( $tmp_post )
{
if ( IPSText::getTextClass( 'editor' )->method == 'rte' )
{
$raw_post .= "[quote name='" . IPSText::getTextClass( 'bbcode' )->makeQuoteSafe($tp['author_name']) . "' date='" . IPSText::getTextClass( 'bbcode' )->makeQuoteSafe($this->registry->getClass( 'class_localization')->getDate( $tp['post_date'], 'LONG', 1 )) . "' timestamp='" . $tp['post_date'] . "' post='" . $tp['pid'] . "']<br />{$tmp_post}<br />" . $extra . '[/quote]<br /><br /><br />';
}
else
{
/* Knocks out <br /> */
$tmp_post = trim( IPSText::getTextClass( 'bbcode' )->preEditParse( $tmp_post ) );
$raw_post .= "[quote name='" . IPSText::getTextClass( 'bbcode' )->makeQuoteSafe($tp['author_name']) . "' date='" . IPSText::getTextClass( 'bbcode' )->makeQuoteSafe($this->registry->getClass( 'class_localization')->getDate( $tp['post_date'], 'LONG', 1 )) . "' timestamp='" . $tp['post_date'] . "' post='" . $tp['pid'] . "']\n{$tmp_post}\n" . $extra . "[/quote]\n\n\n";
}
}
Na:
if( $tmp_post )
{
if ( IPSText::getTextClass( 'editor' )->method == 'rte' )
{
$raw_post .= "[quote name='" . IPSText::getTextClass( 'bbcode' )->makeQuoteSafe($tp['author_name']) . "' post='" . $tp['pid'] . "']<br />{$tmp_post}<br />" . $extra . '[/quote]<br /><br /><br />';
}
else
{
/* Knocks out <br /> */
$tmp_post = trim( IPSText::getTextClass( 'bbcode' )->preEditParse( $tmp_post ) );
$raw_post .= "[quote name='" . IPSText::getTextClass( 'bbcode' )->makeQuoteSafe($tp['author_name']) . "' post='" . $tp['pid'] . "']\n{$tmp_post}\n" . $extra . "[/quote]\n\n\n";
}
}