aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/search.php')
-rw-r--r--mod/search.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/search.php b/mod/search.php
index 5ba35d2b3..048ed80e1 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -54,8 +54,10 @@ function search_init(&$a) {
$a->page['aside'] .= search_saved_searches();
}
- else
+ else {
unset($_SESSION['theme']);
+ unset($_SESSION['mobile-theme']);
+ }
@@ -81,6 +83,7 @@ function search_content(&$a) {
require_once("include/bbcode.php");
require_once('include/security.php');
require_once('include/conversation.php');
+ require_once('include/items.php');
$o = '<div id="live-search"></div>' . "\r\n";