dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
562a5e3
)
API: Fix E_NOTICE which broke displaying of legacy restrictions (page.page_restrictio...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 17 Mar 2009 15:18:26 +0000
(15:18 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 17 Mar 2009 15:18:26 +0000
(15:18 +0000)
includes/api/ApiQueryInfo.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryInfo.php
b/includes/api/ApiQueryInfo.php
index
e6b89ae
..
17c693e
100644
(file)
--- a/
includes/api/ApiQueryInfo.php
+++ b/
includes/api/ApiQueryInfo.php
@@
-345,7
+345,7
@@
class ApiQueryInfo extends ApiQueryBase {
$this->protections[$row->page_namespace][$row->page_title][] = $a;
# Also check old restrictions
- if($pageRestrictions[$row->pr_page]) {
+ if($
this->
pageRestrictions[$row->pr_page]) {
$restrictions = explode(':', trim($this->pageRestrictions[$row->pr_page]));
foreach($restrictions as $restrict) {
$temp = explode('=', trim($restrict));