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:
4b1811d
)
fix regression -- bad query
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 31 Dec 2006 01:32:02 +0000
(
01:32
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 31 Dec 2006 01:32:02 +0000
(
01:32
+0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
98e2dce
..
40375a7
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1335,7
+1335,7
@@
class Title {
if( $this->exists() ) {
if( !$this->mRestrictionsLoaded ) {
$dbr =& wfGetDB( DB_SLAVE );
- $res = $dbr->selectField( 'page', 'page_restrictions',
$this->getArticleId(
) );
+ $res = $dbr->selectField( 'page', 'page_restrictions',
array( 'page_id' => $this->getArticleId()
) );
$this->loadRestrictions( $res );
}
return isset( $this->mRestrictions[$action] )