logic fix in diffing :D

This commit is contained in:
Brion Vibber 2010-10-13 16:56:49 -07:00
parent 0de3661d57
commit 4f4b0a2612

View File

@ -555,7 +555,7 @@ class Schema
if ($compareCallback) {
$same = call_user_func($compareCallback, $old[$name], $new[$name]);
} else {
$same = ($old[$name] != $new[$name]);
$same = ($old[$name] == $new[$name]);
}
if ($same) {
$tokeep[] = $name;