mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-06-14 02:33:36 +00:00
converting $foo == / $foo == 0 to !$foo (and a few $foo === 0)
This commit is contained in:
parent
cf8fccae96
commit
22a2e1b51e
29 changed files with 57 additions and 62 deletions
lib/Cake/Model/Datasource
|
@ -1053,7 +1053,7 @@ class DboSource extends DataSource {
|
|||
|
||||
if ($model->recursive == -1) {
|
||||
$_associations = array();
|
||||
} elseif ($model->recursive == 0) {
|
||||
} elseif (!$model->recursive) {
|
||||
unset($_associations[2], $_associations[3]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue