fix unknown part
This commit is contained in:
parent
ff09cf264e
commit
c81135c13d
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user