http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84522
Revision: 84522
Author: happy-melon
Date: 2011-03-22 11:14:11 +0000 (Tue, 22 Mar 2011)
Log Message:
-----------
Follow-up r84475: fix notices.
Modified Paths:
--------------
trunk/phase3/includes/specials/SpecialBlock.php
Modified: trunk/phase3/includes/specials/SpecialBlock.php
===================================================================
--- trunk/phase3/includes/specials/SpecialBlock.php 2011-03-22 09:32:11 UTC
(rev 84521)
+++ trunk/phase3/includes/specials/SpecialBlock.php 2011-03-22 11:14:11 UTC
(rev 84522)
@@ -502,6 +502,10 @@
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'] ) ){
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs