From 843d6e53fb7fe234878b5022dae133fb32b84a86 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Mon, 26 Jul 2010 23:57:22 +0200 Subject: [PATCH] [ticket/9754] Populate S_USER_POSTED variable with correct value in search.php PHPBB3-9754 --- phpBB/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/search.php b/phpBB/search.php index 1e1e42d01f..ab6339eef7 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -891,7 +891,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) 'S_TOPIC_GLOBAL' => (!$forum_id) ? true : false, 'S_TOPIC_TYPE' => $row['topic_type'], - 'S_USER_POSTED' => (!empty($row['mark_type'])) ? true : false, + 'S_USER_POSTED' => (!empty($row['topic_posted'])) ? true : false, 'S_UNREAD_TOPIC' => $unread_topic, 'S_TOPIC_REPORTED' => (!empty($row['topic_reported']) && $auth->acl_get('m_report', $forum_id)) ? true : false,