summaryrefslogtreecommitdiffstats
path: root/search/ajax
diff options
context:
space:
mode:
Diffstat (limited to 'search/ajax')
-rw-r--r--search/ajax/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/search/ajax/search.php b/search/ajax/search.php
index b524993d24f..41ee9ad5aba 100644
--- a/search/ajax/search.php
+++ b/search/ajax/search.php
@@ -29,7 +29,7 @@ require_once '../../lib/base.php';
OC_JSON::checkLoggedIn();
$query=(isset($_GET['query']))?$_GET['query']:'';
-if($query){
+if($query) {
$result=OC_Search::search($query);
OC_JSON::encodedPrint($result);
}else{