summaryrefslogtreecommitdiffstats
path: root/autocompleter.php
diff options
context:
space:
mode:
authorJohan "Papa" Cwiklinski <trasher@odysseus.(none)>2010-08-01 10:55:01 +0200
committerJohan "Papa" Cwiklinski <trasher@odysseus.(none)>2010-08-01 10:55:01 +0200
commit06a6a4f777272421970bb827c898f6d36f1ab669 (patch)
tree4080445f98b7530ac4dd78501ec0c7652ba8beed /autocompleter.php
parent8563cd5e8404d11c0a76148c103acc363bd5776e (diff)
Applying PEAR coding standards, refs #48
Diffstat (limited to 'autocompleter.php')
-rw-r--r--autocompleter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/autocompleter.php b/autocompleter.php
index 2acb21e..5dbcd5a 100644
--- a/autocompleter.php
+++ b/autocompleter.php
@@ -39,11 +39,11 @@ require 'include/main.php';
$q = null;
$limit = null;
$ret = null;
-if( !isset($_GET['q']) || $_GET['q'] == '' ) {
+if ( !isset($_GET['q']) || $_GET['q'] == '' ) {
die();
} else {
$q = $_GET['q'];
- if( !isset($_GET['limit']) || $_GET['limit'] == '' ) {
+ if ( !isset($_GET['limit']) || $_GET['limit'] == '' ) {
$limit = 10;
} else {
$limit = $_GET['limit'];