Follow-up r84475: fix notices.
authorHappy-melon <happy-melon@users.mediawiki.org>
Tue, 22 Mar 2011 11:14:11 +0000 (11:14 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Tue, 22 Mar 2011 11:14:11 +0000 (11:14 +0000)
includes/specials/SpecialBlock.php

index 36a050f..a5d9e30 100644 (file)
@@ -502,6 +502,10 @@ class SpecialBlock extends SpecialPage {
                        return array( 'ipb_expiry_invalid' );
                }
 
+               if( !isset( $data['DisableEmail'] ) ){
+                       $data['DisableEmail'] = false;
+               }
+
                # If the user has done the form 'properly', they won't even have been given the
                # option to suppress-block unless they have the 'hideuser' permission
                if( !isset( $data['HideUser'] ) ){