diff --git a/src/ManageVars.php b/src/ManageVars.php index 799ba62..6125a4e 100644 --- a/src/ManageVars.php +++ b/src/ManageVars.php @@ -47,7 +47,7 @@ class ManageVars $combo = []; foreach ($this->cleaners->dump() as $k) { $combo[$k->name] = $k->id; - if ($k->id == $_REQUEST['part']) { + if ($k->id == ($_REQUEST['part'] ?? '/')) { $cleaner = $k; } }