]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
logic fix in diffing :D
authorBrion Vibber <brion@pobox.com>
Wed, 13 Oct 2010 23:56:49 +0000 (16:56 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 13 Oct 2010 23:56:49 +0000 (16:56 -0700)
lib/schema.php

index f42226bad3c9ec6ce234a42c55726552a845c2a6..2793906a461657c6b8815dab66257a87969484b1 100644 (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;