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:
96d5cac
)
Only load old page_restrictions field if $oldFashionedRestrictions is really null...
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Tue, 29 Apr 2008 19:18:58 +0000
(19:18 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Tue, 29 Apr 2008 19:18:58 +0000
(19:18 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
d08a2c4
..
d1a035d
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1693,7
+1693,7
@@
class Title {
# Backwards-compatibility: also load the restrictions from the page record (old format).
- if ( $oldFashionedRestrictions == NULL ) {
+ if ( $oldFashionedRestrictions ==
=
NULL ) {
$oldFashionedRestrictions = $dbr->selectField( 'page', 'page_restrictions', array( 'page_id' => $this->getArticleId() ), __METHOD__ );
}