Don't use deprecated functions

This commit is contained in:
Eric Lippmann 2015-10-01 23:19:37 +02:00
parent f8ac2c8b40
commit e4a42c5cc9
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ abstract class NavigationItemContainer
public function __call($name, $arguments)
{
if (method_exists($this, $name)) {
return call_user_method_array($name, $this, $arguments);
return call_user_func(array($this, $name), $this, $arguments);
}
$type = substr($name, 0, 3);