mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-05 13:13:03 -04:00
apply rector rectifications to sections/*
This commit is contained in:
@@ -42,7 +42,7 @@ if (!empty($_REQUEST['key'])) {
|
||||
continue;
|
||||
}
|
||||
$definitions = CACHE_NAMESPACE[$namespace];
|
||||
$shape = array_map(function ($s) use ($definitions) { return $definitions[$s];},
|
||||
$shape = array_map(fn($s) => $definitions[$s],
|
||||
array_intersect(array_keys($_REQUEST), array_keys($definitions))
|
||||
);
|
||||
if (isset($_REQUEST["$namespace-free"]) && str_contains($_REQUEST["$namespace-free"], '*')) {
|
||||
|
||||
Reference in New Issue
Block a user