summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--search/ajax/search.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/search/ajax/search.php b/search/ajax/search.php
index 546fccc644f..84a5a760cad 100644
--- a/search/ajax/search.php
+++ b/search/ajax/search.php
@@ -23,6 +23,7 @@
// Check if we are a user
OC_JSON::checkLoggedIn();
+\OC::$server->getSession()->close();
$query=(isset($_GET['query']))?$_GET['query']:'';
if($query) {