Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing issue where value in difference array was always the string va…

…lue instead of the original value.
  • Loading branch information...
commit e6aeae8935b4fc7b98b83c12601ba5bfd57ebb6a 1 parent b86bec1
@markstory markstory authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/model/cake_schema.php
View
4 cake/libs/model/cake_schema.php
@@ -550,9 +550,9 @@ function _arrayDiffAssoc($array1, $array2) {
$difference[$key] = $value;
continue;
}
- $value = strval($value);
+ $compare = strval($value);
$correspondingValue = strval($correspondingValue);
- if ($value === $correspondingValue) {
+ if ($compare === $correspondingValue) {
continue;
}
$difference[$key] = $value;
Please sign in to comment.
Something went wrong with that request. Please try again.