From face5bc1af40545d753781a41590a984d3726636 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 25 Mar 2011 14:45:09 +0000 Subject: [PATCH] =?UTF-8?q?fix=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=D0=B0=D1=81=D0=B0=20LS=20=D0=B2=20=D1=88=D0=B0=D0=B1=D0=BB?= =?UTF-8?q?=D0=BE=D0=BD=D0=B0=D1=85=20($LS->)=20=D0=B8=20=D1=81=D1=82?= =?UTF-8?q?=D0=B0=D1=82=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=B2=D1=8B=D0=B7=D0=BE=D0=B2=D0=B0=20(LS::,=20php5.3+)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- engine/classes/Engine.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/classes/Engine.class.php b/engine/classes/Engine.class.php index 4c0008a1..3f3714bb 100644 --- a/engine/classes/Engine.class.php +++ b/engine/classes/Engine.class.php @@ -946,7 +946,7 @@ class LS { * */ public function __call($sName,$aArgs=array()) { - return self::E()->$sName($aArgs); + return call_user_func_array(array(self::E(),$sName),$aArgs); } /** @@ -954,7 +954,7 @@ class LS { * */ public static function __callStatic($sName,$aArgs=array()) { - return self::E()->$sName($aArgs); + return call_user_func_array(array(self::E(),$sName),$aArgs); } }