diff --git a/library/Icinga/Cli/Loader.php b/library/Icinga/Cli/Loader.php index 732c3bca0..93b8739c8 100644 --- a/library/Icinga/Cli/Loader.php +++ b/library/Icinga/Cli/Loader.php @@ -188,6 +188,7 @@ class Loader $params = $this->app->getParams(); } + $first = null; if ($this->moduleName === null) { $first = $params->shift(); if (! $first) {