summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-09-14 17:03:50 -0400
committerLoui Chang <louipc.ist@gmail.com>2009-09-14 17:03:50 -0400
commit1bf54a32c4f3f27ec6a72799d4ac651d22b77097 (patch)
treed2d8d3a3a48b6e6f94140932319188781819495a /web
parent2acb3e17fc802ffd362a4b8af9821aeab015999f (diff)
downloadaurweb-1bf54a32c4f3f27ec6a72799d4ac651d22b77097.tar.xz
aurjson: Use call_user_func to call functions.
call_user_func_array is unnecessary. 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 29fc424..ba6d628 100644
--- a/web/lib/aurjson.class.php
+++ b/web/lib/aurjson.class.php
@@ -42,7 +42,7 @@ class AurJSON {
$this->dbh = db_connect();
// ugh. this works. I hate you php.
- $json = call_user_func_array(array(&$this,$http_data['type']),
+ $json = call_user_func(array(&$this,$http_data['type']),
$http_data['arg']);
// allow rpc callback for XDomainAjax