From: Brion Vibber Date: Wed, 13 Oct 2010 23:56:49 +0000 (-0700) Subject: logic fix in diffing :D X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4f4b0a26128ebee13439ea1ce5f0063b502e301e;p=quix0rs-gnu-social.git logic fix in diffing :D --- diff --git a/lib/schema.php b/lib/schema.php index f42226bad3..2793906a46 100644 --- a/lib/schema.php +++ b/lib/schema.php @@ -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;