aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-07-26 23:57:22 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-07-26 23:58:10 +0200
commit843d6e53fb7fe234878b5022dae133fb32b84a86 (patch)
tree0c54eabc3afcab5531d6e14a7fb040fb5514ed44
parentfc25fe694afdab683789c9ed962c77558f85796c (diff)
downloadforums-843d6e53fb7fe234878b5022dae133fb32b84a86.tar
forums-843d6e53fb7fe234878b5022dae133fb32b84a86.tar.gz
forums-843d6e53fb7fe234878b5022dae133fb32b84a86.tar.bz2
forums-843d6e53fb7fe234878b5022dae133fb32b84a86.tar.xz
forums-843d6e53fb7fe234878b5022dae133fb32b84a86.zip
[ticket/9754] Populate S_USER_POSTED variable with correct value in search.php
PHPBB3-9754
-rw-r--r--phpBB/search.php2
1 files changed, 1 insertions, 1 deletions
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,