From: Brion Vibber Date: Sun, 26 Jun 2005 21:23:44 +0000 (+0000) Subject: * (bug 2541) Fix unprotect tab X-Git-Tag: 1.5.0beta2~193 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=ae4157a72d16f787f05d6c9f787521ca340b1070;p=lhc%2Fweb%2Fwiklou.git * (bug 2541) Fix unprotect tab --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index ffaa3a50fc..b2abe6999e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -371,6 +371,7 @@ Various bugfixes, small features, and a few experimental things: * Try reading revisions from master if no result on slave * (bug 2538) Suppress notice on user serialized checks * Fix paging on Special:Contributions +* (bug 2541) Fix unprotect tab === Caveats === diff --git a/includes/Article.php b/includes/Article.php index dd563ba0c6..9b000a30c6 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -311,7 +311,7 @@ class Article { * @access private */ function loadPageData( $data ) { - $this->mTitle->mRestrictions = explode( ',', trim( $data->page_restrictions ) ); + $this->mTitle->loadRestrictions( $data->page_restrictions ); $this->mTitle->mRestrictionsLoaded = true; $this->mCounter = $data->page_counter;