mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix formatting - one space too much. Refs #2799.
This commit is contained in:
parent
7fd13d406c
commit
a9059d4a4f
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ class CakeRoute {
|
|||
$prefixed = $params['prefix'] . '_';
|
||||
}
|
||||
if (isset($prefixed, $params['action']) && strpos($params['action'], $prefixed) === 0) {
|
||||
$params['action'] = substr($params['action'], strlen($prefixed) );
|
||||
$params['action'] = substr($params['action'], strlen($prefixed));
|
||||
unset($params['prefix']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue