Fix formatting - one space too much. Refs #2799.

This commit is contained in:
Sam 2014-02-10 02:02:41 +11:00
parent 7fd13d406c
commit a9059d4a4f

View file

@ -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']);
}