Index: trunk/phase3/includes/specials/SpecialBlock.php |
— | — | @@ -502,6 +502,10 @@ |
503 | 503 | return array( 'ipb_expiry_invalid' ); |
504 | 504 | } |
505 | 505 | |
| 506 | + if( !isset( $data['DisableEmail'] ) ){ |
| 507 | + $data['DisableEmail'] = false; |
| 508 | + } |
| 509 | + |
506 | 510 | # If the user has done the form 'properly', they won't even have been given the |
507 | 511 | # option to suppress-block unless they have the 'hideuser' permission |
508 | 512 | if( !isset( $data['HideUser'] ) ){ |