mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 13:12:17 +00:00
[OPTIMISATION] Ensured action parameter was set before using it.
This commit is contained in:
@@ -59,7 +59,7 @@ class RouterResource extends RouterEntry {
|
|||||||
$parameters = array_merge($this->parameters, $parameters);
|
$parameters = array_merge($this->parameters, $parameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
$action = $parameters['action'];
|
$action = isset($parameters['action']) ? $parameters['action'] : null;
|
||||||
unset($parameters['action']);
|
unset($parameters['action']);
|
||||||
|
|
||||||
// Delete
|
// Delete
|
||||||
|
|||||||
Reference in New Issue
Block a user