Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/search
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-09-07 17:22:01 +0400
committerThomas Mueller <thomas.mueller@tmit.eu>2012-09-07 17:22:01 +0400
commit3829460ab8cbb6de65c53583a20fd04cbe7927dd (patch)
tree4dc24845a5eb31b17510a621e14c15b51f16bf7b /search
parent785aa751bb5f9a4bcdd677b96207550482e17d3c (diff)
adding space between) and {
Diffstat (limited to 'search')
-rw-r--r--search/ajax/search.php2
-rw-r--r--search/index.php2
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();
}