From 1bf54a32c4f3f27ec6a72799d4ac651d22b77097 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Mon, 14 Sep 2009 17:03:50 -0400 Subject: aurjson: Use call_user_func to call functions. call_user_func_array is unnecessary. Signed-off-by: Loui Chang --- web/lib/aurjson.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') 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 -- cgit v1.2.3-54-g00ecf