From: Alexandre Emsenhuber Date: Mon, 2 Jan 2012 17:22:25 +0000 (+0000) Subject: Fix for r107825: forgot to change one instance of $oldFashionedRestrictions to $this... X-Git-Tag: 1.31.0-rc.0~25610 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=c317be3084aad4cd52962a88f03a8fd2b87d97b1;p=lhc%2Fweb%2Fwiklou.git Fix for r107825: forgot to change one instance of $oldFashionedRestrictions to $this->mOldRestrictions --- 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