cakephp2-php8/lib/Cake/Model
Christian Winther 9e6120c86a This fixes an issue where attempting to use "!=" in a condition with an array with only a single element generates invalid SQL.
Example:
$condition['Model.id !='] = array(1, 2); //Generates Model.id NOT IN (1, 2) as expected
$condition['Model.id !='] = array(1); //Generates Model.id != = (1) which is invalid SQL

Patch will cause the above to generate Model.id != (1);

This an implimentation of @markstory's suggestion on PR 1232
2013-05-28 11:54:31 +00:00
..
Behavior Merge branch 'master' into 2.4 2013-04-25 03:06:04 +05:30
Datasource This fixes an issue where attempting to use "!=" in a condition with an array with only a single element generates invalid SQL. 2013-05-28 11:54:31 +00:00
Validator Fix typos 2013-03-05 00:05:14 -07:00
AclNode.php Added extra line for referencing license file for copyright 2013-02-08 21:22:51 +09:00
Aco.php Added extra line for referencing license file for copyright 2013-02-08 21:22:51 +09:00
AcoAction.php Added extra line for referencing license file for copyright 2013-02-08 21:22:51 +09:00
Aro.php Added extra line for referencing license file for copyright 2013-02-08 21:22:51 +09:00
BehaviorCollection.php Fixing behavior prioritizing 2013-02-24 22:52:31 +05:30
CakeSchema.php schema update CREATEs non-existing tables instead of ALTER 2013-04-03 17:37:09 +02:00
ConnectionManager.php Re-assign $db after beforeSave. 2013-04-21 21:15:44 -04:00
I18nModel.php Added extra line for referencing license file for copyright 2013-02-08 21:22:51 +09:00
Model.php Merge branch 'master' into 2.4 2013-05-16 21:31:27 -04:00
ModelBehavior.php Added extra line for referencing license file for copyright 2013-02-08 21:22:51 +09:00
ModelValidator.php Fix typos 2013-03-05 00:05:14 -07:00
Permission.php == to === and != to !== where applicable 2013-02-12 03:38:08 +01:00