using call_user_func instead of depricated call_user_method, which seems at least under PHP5.3 not to allow static calls

This commit is contained in:
Ralf Becker 2010-07-20 14:34:53 +00:00
parent 23faf12229
commit 869e22dbf2

View File

@ -108,7 +108,7 @@ class etemplate_request
}
if (self::$request_class != __CLASS__)
{
return call_user_method('read',self::$request_class,$id);
return call_user_func(array(self::$request_class,'read'),$id);
}
$request = new etemplate_request();