diff --git a/Core/Mods/sections/class.sections.php b/Core/Mods/sections/class.sections.php index 4fbdaa4..a1b62f5 100644 --- a/Core/Mods/sections/class.sections.php +++ b/Core/Mods/sections/class.sections.php @@ -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;