From: Happy-melon Date: Tue, 22 Mar 2011 11:14:11 +0000 (+0000) Subject: Follow-up r84475: fix notices. X-Git-Tag: 1.31.0-rc.0~31256 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=7a9fc69573fc2dadbd95a31b7d4322dc45aa3fa1;p=lhc%2Fweb%2Fwiklou.git Follow-up r84475: fix notices. --- diff --git a/includes/specials/SpecialBlock.php b/includes/specials/SpecialBlock.php index 36a050f12f..a5d9e30d45 100644 --- a/includes/specials/SpecialBlock.php +++ b/includes/specials/SpecialBlock.php @@ -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'] ) ){