diff --git a/cake/libs/configure.php b/cake/libs/configure.php index 02118f9bc..310490846 100644 --- a/cake/libs/configure.php +++ b/cake/libs/configure.php @@ -1237,9 +1237,8 @@ class App extends Object { if ($type === 'core') { return App::core('libs'); } - - if (isset($this->{$type.'s'})) { - return $this->{$type.'s'}; + if (isset($this->{$type . 's'})) { + return $this->{$type . 's'}; } return $paths; } diff --git a/cake/libs/view/helpers/paginator.php b/cake/libs/view/helpers/paginator.php index 870c94223..47f0652ef 100644 --- a/cake/libs/view/helpers/paginator.php +++ b/cake/libs/view/helpers/paginator.php @@ -360,7 +360,7 @@ class PaginatorHelper extends AppHelper { $obj = isset($options['update']) ? $this->_ajaxHelperClass : 'Html'; $url = array_merge(array('page' => $this->current($model)), $url); - $url = array_merge(Set::filter($url, true), array_intersect_key($url, array('plugin'=>true))); + $url = array_merge(Set::filter($url, true), array_intersect_key($url, array('plugin' => true))); return $this->{$obj}->link($title, $url, $options); }