Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit cd99b7d6ff335a5ef8d3e6609cbc09d4ef31be4d 1 parent 36314e6
Carl Sutton dogmatic69 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Model/Datasource/DboSource.php
2  lib/Cake/Model/Datasource/DboSource.php
View
@@ -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]);
}
Please sign in to comment.
Something went wrong with that request. Please try again.