From 21f50c06f4a24668c1dd728ee9a16d55bb10d14c Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Thu, 8 Mar 2007 01:46:12 +0000 Subject: [PATCH] real fix for 9097 --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index ae09f33389..a729bcb59e 100644 --- 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__ ); -- 2.20.1