Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ADmads comments

  • Loading branch information...
commit f5a8eb6bbf0af71f431a944dd4dccf648bb75c02 1 parent cfadc4d
@dogmatic69 dogmatic69 authored
View
2  lib/Cake/Console/Command/ApiShell.php
@@ -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);
}
View
2  lib/Cake/Model/Datasource/DboSource.php
@@ -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]);
}
Please sign in to comment.
Something went wrong with that request. Please try again.