From 869e22dbf263ebe49d18bf91a9b6507a5b550381 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 20 Jul 2010 14:34:53 +0000 Subject: [PATCH] using call_user_func instead of depricated call_user_method, which seems at least under PHP5.3 not to allow static calls --- etemplate/inc/class.etemplate_request.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate_request.inc.php b/etemplate/inc/class.etemplate_request.inc.php index 01e7ab1f46..5f57a38ed0 100644 --- a/etemplate/inc/class.etemplate_request.inc.php +++ b/etemplate/inc/class.etemplate_request.inc.php @@ -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();