mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Loader: Define variable $first in method scope
This commit is contained in:
parent
53b9774874
commit
dbc8579747
@ -188,6 +188,7 @@ class Loader
|
|||||||
$params = $this->app->getParams();
|
$params = $this->app->getParams();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$first = null;
|
||||||
if ($this->moduleName === null) {
|
if ($this->moduleName === null) {
|
||||||
$first = $params->shift();
|
$first = $params->shift();
|
||||||
if (! $first) {
|
if (! $first) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user