diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-09-07 15:22:01 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-09-07 15:22:01 +0200 |
commit | 3829460ab8cbb6de65c53583a20fd04cbe7927dd (patch) | |
tree | 4dc24845a5eb31b17510a621e14c15b51f16bf7b /search | |
parent | 785aa751bb5f9a4bcdd677b96207550482e17d3c (diff) | |
download | nextcloud-server-3829460ab8cbb6de65c53583a20fd04cbe7927dd.tar.gz nextcloud-server-3829460ab8cbb6de65c53583a20fd04cbe7927dd.zip |
adding space between) and {
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(); } |