From: Meik S. <acy...@ph...> - 2009-10-04 18:03:35
|
Author: acydburn Date: Sun Oct 4 19:03:19 2009 New Revision: 10208 Log: Fix bug #52515 (wrong bbcode uid assigned if error triggered and quote/forward PM) - still not entirely sure if this will break things, but the correct uid should also be assigned if there is an error triggered somewhere, this does not change the content or the actions assigned. Modified: branches/phpBB-3_0_0/phpBB/includes/ucp/ucp_pm_compose.php Modified: branches/phpBB-3_0_0/phpBB/includes/ucp/ucp_pm_compose.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/ucp/ucp_pm_compose.php (original) --- branches/phpBB-3_0_0/phpBB/includes/ucp/ucp_pm_compose.php Sun Oct 4 19:03:19 2009 *************** *** 811,817 **** } // Decode text for message display ! $bbcode_uid = (($action == 'quote' || $action == 'forward') && !$preview && !$refresh && !sizeof($error)) ? $bbcode_uid : $message_parser->bbcode_uid; $message_parser->decode_message($bbcode_uid); --- 811,817 ---- } // Decode text for message display ! $bbcode_uid = (($action == 'quote' || $action == 'forward') && !$preview && !$refresh) ? $bbcode_uid : $message_parser->bbcode_uid; $message_parser->decode_message($bbcode_uid); |