From d36d799512cbbfecceb87668132688b3069e7d48 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Wed, 12 Jul 2006 12:05:26 +0000 Subject: [PATCH] * Check the block against the master if we're going to wind up deleting stuff --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index 1a66758397..52e491dc80 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1641,7 +1641,7 @@ class Article { # Check permissions if( $wgUser->isAllowed( 'delete' ) ) { - if( $wgUser->isBlocked() ) { + if( $wgUser->isBlocked( !$confirm ) ) { $wgOut->blockedPage(); return; } -- 2.20.1