Permalink
Browse files

Fixed tabing formating

  • Loading branch information...
1 parent faff191 commit 3855c0690e43a9e01f0d29961ac5314f45c22420 @k-halaburda k-halaburda committed Aug 9, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Cake/Model/Datasource/DboSource.php
@@ -1139,9 +1139,9 @@ public function read(Model $model, $queryData = array(), $recursive = null) {
*/
protected function _filterResults(&$results, Model $model, $filtered = array()) {
if (!is_array($results)) {
- return array();
- }
- $current = reset($results);
+ return array();
+ }
+ $current = reset($results);
if (!is_array($current)) {
return array();
}
@@ -1255,7 +1255,7 @@ public function queryAssociation(Model $model, &$linkModel, $type, $association,
} else {
$fetch = null;
}
- if ($queryData['callbacks'] === true || $queryData['callbacks'] === 'after') {
+ if ($queryData['callbacks'] === true || $queryData['callbacks'] === 'after') {
$this->_filterResults($fetch, $model);
}
}

0 comments on commit 3855c06

Please sign in to comment.