From 06a6a4f777272421970bb827c898f6d36f1ab669 Mon Sep 17 00:00:00 2001 From: "Johan \"Papa\" Cwiklinski" Date: Sun, 1 Aug 2010 10:55:01 +0200 Subject: Applying PEAR coding standards, refs #48 --- autocompleter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autocompleter.php') 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']; -- cgit