From 7a9fc69573fc2dadbd95a31b7d4322dc45aa3fa1 Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Tue, 22 Mar 2011 11:14:11 +0000 Subject: [PATCH] Follow-up r84475: fix notices. --- includes/specials/SpecialBlock.php | 4 ++++ 1 file changed, 4 insertions(+) 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'] ) ){ -- 2.20.1