woops -- parens broke teh diffs
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 10 Jul 2007 20:01:43 +0000 (20:01 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 10 Jul 2007 20:01:43 +0000 (20:01 +0000)
includes/Wiki.php

index 31ecd89..dc1f709 100644 (file)
@@ -102,7 +102,7 @@ class MediaWiki {
                                $lang->findVariantLink( $title, $ret );
 
                }
-               if ( $oldid = $request->getInt( 'oldid' )
+               if ( ( $oldid = $request->getInt( 'oldid' ) )
                        && ( is_null( $ret ) || $ret->getNamespace() != NS_SPECIAL ) ) {
                        // Allow oldid to override a changed or missing title.
                        $rev = Revision::newFromId( $oldid );