diff options
Diffstat (limited to 'search')
-rw-r--r-- | search/ajax/search.php | 2 | ||||
-rw-r--r-- | search/index.php | 2 |
2 files changed, 2 insertions, 2 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{ diff --git a/search/index.php b/search/index.php index 958065dc406..9c515ff3dd3 100644 --- a/search/index.php +++ b/search/index.php @@ -39,7 +39,7 @@ if($query) { } $resultTypes=array(); -foreach($results as $result){ +foreach($results as $result) { if(!isset($resultTypes[$result->type])) { $resultTypes[$result->type]=array(); } |