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:
a4fd25f
)
real fix for 9097
author
River Tarnell
<river@users.mediawiki.org>
Thu, 8 Mar 2007 01:46:12 +0000
(
01:46
+0000)
committer
River Tarnell
<river@users.mediawiki.org>
Thu, 8 Mar 2007 01:46:12 +0000
(
01:46
+0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
ae09f33
..
a729bcb
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1710,7
+1710,7
@@
class Article {
# Update restrictions table
foreach( $limit as $action => $restrictions ) {
if ($restrictions != '' ) {
- $dbw->replace( 'page_restrictions', array(
'pr_page', 'pr_type'
),
+ $dbw->replace( 'page_restrictions', array(
array('pr_page', 'pr_type')
),
array( 'pr_page' => $id, 'pr_type' => $action
, 'pr_level' => $restrictions, 'pr_cascade' => $cascade ? 1 : 0
, 'pr_expiry' => $encodedExpiry ), __METHOD__ );