From c317be3084aad4cd52962a88f03a8fd2b87d97b1 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 2 Jan 2012 17:22:25 +0000 Subject: [PATCH] Fix for r107825: forgot to change one instance of $oldFashionedRestrictions to $this->mOldRestrictions --- includes/Title.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index 5af374167d..69902d2fe1 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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 -- 2.20.1