From a50c080de222c0d45b4f24b2dc78f0a4037ab191 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sun, 2 Sep 2012 20:01:10 +0200 Subject: [PATCH] index_ajax : fixed php warning --- public_html/index_ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/index_ajax.php b/public_html/index_ajax.php index c40ddad8..837ab270 100644 --- a/public_html/index_ajax.php +++ b/public_html/index_ajax.php @@ -18,7 +18,7 @@ if (!isset($_ERRORS)) { if (LSsession :: loadLSclass($class)) { $meth = 'ajax_'.$_REQUEST['action']; if (method_exists($class,$meth)) { - call_user_func(array($class,$meth),$data); + $class :: $meth($data); } } }