summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-02-20 15:08:56 -0600
committerSimo Leone <simo@archlinux.org>2008-03-23 03:04:16 -0500
commitfca67672fd5f9e5c665a5b4e905fe6c9a457118f (patch)
treecf16bc60a3a478010801ae150dd5484e4facdfae
parent0e32c8648f81ef02c6ad7650f8b31428dd0f5b80 (diff)
downloadaurweb-fca67672fd5f9e5c665a5b4e905fe6c9a457118f.tar.xz
One more json fix
-rw-r--r--web/lib/aurjson.class.php2
1 files changed, 1 insertions, 1 deletions
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