* Check the block against the master if we're going to wind up deleting stuff
authorRob Church <robchurch@users.mediawiki.org>
Wed, 12 Jul 2006 12:05:26 +0000 (12:05 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Wed, 12 Jul 2006 12:05:26 +0000 (12:05 +0000)
includes/Article.php

index 1a66758..52e491d 100644 (file)
@@ -1641,7 +1641,7 @@ class Article {
 
                # Check permissions
                if( $wgUser->isAllowed( 'delete' ) ) {
-                       if( $wgUser->isBlocked() ) {
+                       if( $wgUser->isBlocked( !$confirm ) ) {
                                $wgOut->blockedPage();
                                return;
                        }