Merge pull request #2142 from bcrowe/hotfix-strictNull

Change is_null() calls to strict checks
This commit is contained in:
Mark Story 2013-10-15 20:00:12 -07:00
commit ff0b963941

View file

@ -551,7 +551,7 @@ class CakeSchema extends Object {
continue;
}
$correspondingValue = $array2[$key];
if (is_null($value) !== is_null($correspondingValue)) {
if (($value === null ) !== ($correspondingValue === null)) {
$difference[$key] = $value;
continue;
}