From ae4157a72d16f787f05d6c9f787521ca340b1070 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 26 Jun 2005 21:23:44 +0000 Subject: [PATCH] * (bug 2541) Fix unprotect tab --- RELEASE-NOTES | 1 + includes/Article.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1