Skip to content

Commit

Permalink
ADmads comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Sep 14, 2012
1 parent cfadc4d commit f5a8eb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/ApiShell.php
Expand Up @@ -77,7 +77,7 @@ public function main() {
if ($count > 1) {
$file = Inflector::underscore($this->args[1]);
$class = Inflector::camelize($this->args[1]);
} elseif($count) {
} elseif ($count) {
$file = $type;
$class = Inflector::camelize($type);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Model/Datasource/DboSource.php
Expand Up @@ -1053,7 +1053,7 @@ public function read(Model $model, $queryData = array(), $recursive = null) {

if ($model->recursive == -1) {
$_associations = array();
} elseif (!$model->recursive) {
} elseif (!$model->recursive === 0) {
unset($_associations[2], $_associations[3]);
}

Expand Down

0 comments on commit f5a8eb6

Please sign in to comment.