Merge branch 'master' into Issue_#16,_Module_name_integration

This commit is contained in:
Abel Hoogeveen 2015-03-14 16:06:44 +01:00
commit 2398cf7352
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ class Sections extends Module {
// And finally set the controller, if no parameters are set, load the default function
$controller = (!empty($event->function) ? $event->function : $this->config->main->default_controller );
} else {
$this->logger->log("No section was found with name: '".$name."'", 'Sections');
}
if($controller !== null)$event->controller = $controller;