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:20 +00:00
parent 14722e5060
commit 4ad95007b5

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();