Index: trunk/phase3/includes/api/ApiQueryInfo.php |
— | — | @@ -345,7 +345,7 @@ |
346 | 346 | $this->protections[$row->page_namespace][$row->page_title][] = $a; |
347 | 347 | |
348 | 348 | # Also check old restrictions |
349 | | - if($pageRestrictions[$row->pr_page]) { |
| 349 | + if($this->pageRestrictions[$row->pr_page]) { |
350 | 350 | $restrictions = explode(':', trim($this->pageRestrictions[$row->pr_page])); |
351 | 351 | foreach($restrictions as $restrict) { |
352 | 352 | $temp = explode('=', trim($restrict)); |