Fixing formatting of code.

This commit is contained in:
Mark Story 2010-02-09 21:05:01 -05:00
parent b90a64c044
commit 3a03672379
2 changed files with 3 additions and 4 deletions

View file

@ -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;
}

View file

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