mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/9754] Populate S_USER_POSTED variable with correct value in search.php
PHPBB3-9754
This commit is contained in:
parent
fc25fe694a
commit
843d6e53fb
1 changed files with 1 additions and 1 deletions
|
@ -891,7 +891,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||||
|
|
||||||
'S_TOPIC_GLOBAL' => (!$forum_id) ? true : false,
|
'S_TOPIC_GLOBAL' => (!$forum_id) ? true : false,
|
||||||
'S_TOPIC_TYPE' => $row['topic_type'],
|
'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_UNREAD_TOPIC' => $unread_topic,
|
||||||
|
|
||||||
'S_TOPIC_REPORTED' => (!empty($row['topic_reported']) && $auth->acl_get('m_report', $forum_id)) ? true : false,
|
'S_TOPIC_REPORTED' => (!empty($row['topic_reported']) && $auth->acl_get('m_report', $forum_id)) ? true : false,
|
||||||
|
|
Loading…
Add table
Reference in a new issue