From b4f0f31681e0fc9d3b7dde9c324007f0192b4ed9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 15 Oct 2010 20:08:54 +0000 Subject: [PATCH] call_user_func('class::method', ...) is PHP 5.3+ --- filemanager/inc/class.filemanager_ui.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index 4d9243b8f2..ba9d2289b5 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -163,6 +163,10 @@ class filemanager_ui } $view = self::get_view(); + if (strpos($view,'::') !== false && version_compare(PHP_VERSION,'5.3.0','<')) + { + $view = explode('::',$view); + } call_user_func($view,$content,$msg); }