diff --git a/Application/Component/DebugBarComponent.php b/Application/Component/DebugBarComponent.php index cfb6945..d08073c 100644 --- a/Application/Component/DebugBarComponent.php +++ b/Application/Component/DebugBarComponent.php @@ -133,8 +133,8 @@ class DebugBarComponent extends BaseController return new TemplateVariablesCollector( array_merge( - $templateEngine->getGlobals(), - Registry::getConfig()->getActiveView()->getViewData() + Registry::getConfig()->getActiveView()->getViewData(), + $templateEngine->getGlobals() ) ); }