From fca67672fd5f9e5c665a5b4e905fe6c9a457118f Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Wed, 20 Feb 2008 15:08:56 -0600 Subject: One more json fix --- web/lib/aurjson.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/lib/aurjson.class.php') diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index ee3a181..be92c25 100644 --- a/web/lib/aurjson.class.php +++ b/web/lib/aurjson.class.php @@ -111,7 +111,7 @@ class AurJSON { * @return mixed Returns an array of value data containing the package data **/ private function info($pqdata) { - $base_query = "SELECT ID,Name,Version,Description,URL,URLPath,License,NumVotes,OutOfDate FROM Packages WHERE DummyPkg=0 AND"; + $base_query = "SELECT ID,Name,Version,Description,URL,URLPath,License,NumVotes,OutOfDate FROM Packages WHERE DummyPkg=0 AND "; if ( is_numeric($pqdata) ) { // just using sprintf to coerce the pqd to an int -- cgit v1.2.3-70-g09d2