summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-01-23 19:41:38 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-01-23 19:41:38 +0100
commit1e9147a35242e722c208f55cc6ea3d49dd20e252 (patch)
tree7d3039f9ee72bb62594e6f098780f4db70f2eef8 /web
parent80a95443c57a50f79f89511482bb64d231f01ae0 (diff)
downloadaur-1e9147a35242e722c208f55cc6ea3d49dd20e252.tar.gz
aur-1e9147a35242e722c208f55cc6ea3d49dd20e252.tar.xz
Return CategoryID from the json interface.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web')
-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 6ff9b0f2..81c08312 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');
/**