aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2019-12-23 18:25:36 +0000
committerbrunoais <brunoaiss@gmail.com>2019-12-23 18:31:19 +0000
commitfaca59b3a6ded459bf67e66cf1088380e9850048 (patch)
treec31adf2b66082ef6fcde4636f45fbbf4a29d8730
parent9b6149d3ac0549543a40283d67a0ac2a656c4fa8 (diff)
downloadforums-faca59b3a6ded459bf67e66cf1088380e9850048.tar
forums-faca59b3a6ded459bf67e66cf1088380e9850048.tar.gz
forums-faca59b3a6ded459bf67e66cf1088380e9850048.tar.bz2
forums-faca59b3a6ded459bf67e66cf1088380e9850048.tar.xz
forums-faca59b3a6ded459bf67e66cf1088380e9850048.zip
[ticket/16262] Add unset variables to search's compact
PHPBB3-16262
-rw-r--r--phpBB/search.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index bd8025dae5..e50df13ea4 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -1214,6 +1214,10 @@ if ($keywords || $author || $author_id || $search_id || $submit)
'U_VIEW_POST' => (!empty($row['post_id'])) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=" . $row['topic_id'] . '&amp;p=' . $row['post_id'] . (($u_hilit) ? '&amp;hilit=' . $u_hilit : '')) . '#p' . $row['post_id'] : '',
));
+ $folder_img = $folder_alt = $u_mcp_queue = '';
+ $topic_type = $posts_unapproved = 0;
+ $unread_topic = $topic_unapproved = $topic_deleted = false;
+
/**
* Modify the topic data before it is assigned to the template
*