[BUGFIX] Tree view in admin panel is broken with PHP 5.4