From 7a5ac7cfad5cefe37c3c5a267889dc21c6806ecf Mon Sep 17 00:00:00 2001 From: Abel Hoogeveen Date: Wed, 29 Apr 2015 16:15:50 +0200 Subject: [PATCH] Fix for #31. Low priority for Sections. --- Modules/sections/class.sections.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/sections/class.sections.php b/Modules/sections/class.sections.php index 41cca0b..9be87b5 100644 --- a/Modules/sections/class.sections.php +++ b/Modules/sections/class.sections.php @@ -64,9 +64,9 @@ class Main extends Module { $this->logger->stopLevel(); // Register Events - $this->events->addListener(array($this, 'routerRouteEvent'), 'routerRouteEvent', EventPriority::NORMAL); - $this->events->addListener(array($this, 'layoutLoadEvent'), 'layoutLoadEvent', EventPriority::NORMAL); - $this->events->addListener(array($this, 'modelLoadevent'), 'modelLoadEvent', EventPriority::NORMAL); + $this->events->addListener(array($this, 'routerRouteEvent'), 'routerRouteEvent', EventPriority::LOWEST); + $this->events->addListener(array($this, 'layoutLoadEvent'), 'layoutLoadEvent', EventPriority::LOWEST); + $this->events->addListener(array($this, 'modelLoadevent'), 'modelLoadEvent', EventPriority::LOWEST); } /**