merged master
[lhc/web/wiklou.git] / includes / Title.php
index 594ade5..b4afed6 100644 (file)
@@ -4159,11 +4159,11 @@ class Title {
                if ( in_array( 'include_old', $options ) ) {
                        $old_cmp = '>=';
                }
-               if ( in_array( 'include_new', $options ) ) {
-                       $new_cmp = '<=';
-               }
-               if ( in_array( 'include_both', $options ) ) {
-                       $old_cmp = '>=';
+               if ( in_array( 'include_new', $options ) ) {\r
+                       $new_cmp = '<=';\r
+               }\r
+               if ( in_array( 'include_both', $options ) ) {\r
+                       $old_cmp = '>=';\r
                        $new_cmp = '<=';
                }
                // No DB query needed if $old and $new are the same or successive revisions: