forked from extern/egroupware
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