diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-08-01 11:01:26 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-08-01 11:01:26 +0200 |
commit | 524eafd21886717271be06d05bdfe92adce0b6e1 (patch) | |
tree | 4080445f98b7530ac4dd78501ec0c7652ba8beed /autocompleter.php | |
parent | de7b6100e3ef554797e86c92e0c3c13ead4dfe67 (diff) | |
parent | 06a6a4f777272421970bb827c898f6d36f1ab669 (diff) |
Merge http://github.com/trasher/rpmphp
Diffstat (limited to 'autocompleter.php')
-rw-r--r-- | autocompleter.php | 4 |
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']; |