[ticket/6712] Pass $post_data by the value instead of by the reference.

PHPBB3-6712
This commit is contained in:
rxu 2011-04-03 01:00:21 +08:00
parent 4091f873ea
commit d1bd5962c7

View file

@ -2614,7 +2614,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
/*
* Handle topic bumping
*/
function bump_topic($forum_id, $topic_id, &$post_data, $current_time = false)
function bump_topic($forum_id, $topic_id, $post_data, $current_time = false)
{
global $config, $db, $user, $phpEx, $phpbb_root_path;