Skip to content

Commit

Permalink
Fixing formatting of code.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 10, 2010
1 parent b90a64c commit 3a03672
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions cake/libs/configure.php
Expand Up @@ -1237,9 +1237,8 @@ function __paths($type) {
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;
}
Expand Down
2 changes: 1 addition & 1 deletion cake/libs/view/helpers/paginator.php
Expand Up @@ -360,7 +360,7 @@ function link($title, $url = array(), $options = array()) {

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

Expand Down

0 comments on commit 3a03672

Please sign in to comment.