Merge branch 'master' into Issue_#16,_Module_name_integration
This commit is contained in:
commit
2398cf7352
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user