Fix for r107825: forgot to change one instance of $oldFashionedRestrictions to $this...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 2 Jan 2012 17:22:25 +0000 (17:22 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 2 Jan 2012 17:22:25 +0000 (17:22 +0000)
includes/Title.php

index 5af3741..69902d2 100644 (file)
@@ -2545,7 +2545,7 @@ class Title {
                }
 
                if ( $this->mOldRestrictions !== false && $this->mOldRestrictions !== '' ) {
-                       foreach ( explode( ':', trim( $oldFashionedRestrictions ) ) as $restrict ) {
+                       foreach ( explode( ':', trim( $this->mOldRestrictions ) ) as $restrict ) {
                                $temp = explode( '=', trim( $restrict ) );
                                if ( count( $temp ) == 1 ) {
                                        // old old format should be treated as edit/move restriction