mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
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:
parent
23faf12229
commit
869e22dbf2
@ -108,7 +108,7 @@ class etemplate_request
|
|||||||
}
|
}
|
||||||
if (self::$request_class != __CLASS__)
|
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();
|
$request = new etemplate_request();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user