From: Marcel Werk Date: Sun, 1 Jan 2017 18:30:39 +0000 (+0100) Subject: Added missing default value X-Git-Tag: 3.0.0~79 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4d4b3b12db85caf1e2c4535bbb96a8925063dec0;p=GitHub%2FWoltLab%2FWCF.git Added missing default value --- diff --git a/wcfsetup/install/files/lib/system/bulk/processing/user/SendMailUserBulkProcessingAction.class.php b/wcfsetup/install/files/lib/system/bulk/processing/user/SendMailUserBulkProcessingAction.class.php index 773a113986..5c76cd14c0 100644 --- a/wcfsetup/install/files/lib/system/bulk/processing/user/SendMailUserBulkProcessingAction.class.php +++ b/wcfsetup/install/files/lib/system/bulk/processing/user/SendMailUserBulkProcessingAction.class.php @@ -76,6 +76,10 @@ class SendMailUserBulkProcessingAction extends AbstractUserBulkProcessingAction * @inheritDoc */ public function getHTML() { + if (!count($_POST)) { + $this->from = MAIL_FROM_ADDRESS; + } + return WCF::getTPL()->fetch('sendMailUserBulkProcessing', 'wcf', [ 'enableHTML' => $this->enableHTML, 'from' => $this->from,