index_ajax : fixed alling method of ajax function

This commit is contained in:
Benjamin Renard 2012-09-01 14:36:50 +02:00
parent dae3178ac9
commit 1ee9e8aa08

View file

@ -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);
call_user_func(array($class,$meth),$data);
}
}
}