mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
call_user_func('class::method', ...) is PHP 5.3+
This commit is contained in:
parent
15c8775a80
commit
b4f0f31681
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user