Skip to content
Browse files

fixing error pointed out by dereuromark with recursive #846 (comment)

  • Loading branch information...
1 parent 36314e6 commit cd99b7d6ff335a5ef8d3e6609cbc09d4ef31be4d @dogmatic69 dogmatic69 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Datasource/DboSource.php
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 === 0) {
+ } elseif ($model->recursive === 0) {
unset($_associations[2], $_associations[3]);
}

0 comments on commit cd99b7d

Please sign in to comment.
Something went wrong with that request. Please try again.