summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-01-23 13:41:38 -0500
committerLoui Chang <louipc.ist@gmail.com>2009-01-23 13:41:38 -0500
commit1e9147a35242e722c208f55cc6ea3d49dd20e252 (patch)
tree7d3039f9ee72bb62594e6f098780f4db70f2eef8
parent80a95443c57a50f79f89511482bb64d231f01ae0 (diff)
downloadaurweb-1e9147a35242e722c208f55cc6ea3d49dd20e252.tar.xz
Return CategoryID from the json interface.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-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 6ff9b0f..81c0831 100644
--- a/web/lib/aurjson.class.php
+++ b/web/lib/aurjson.class.php
@@ -22,7 +22,7 @@ if (!extension_loaded('json'))
class AurJSON {
private $dbh = false;
private $exposed_methods = array('search','info');
- private $fields = array('ID','Name','Version','Description',
+ private $fields = array('ID','Name','Version','CategoryID','Description',
'URL','URLPath','License','NumVotes','OutOfDate');
/**