Fix error when maildaemon tries to report a message parsing error
darcs-hash:20081007083521-f6e2c-00bd73ab4df406188713e7a652b0bd5a7012bf6d.gz
This commit is contained in:
parent
c197b228eb
commit
2cc3136dca
@ -42,7 +42,7 @@ class MailerDaemon {
|
||||
function handle_message($fname='php://stdin') {
|
||||
list($from, $to, $msg) = $this->parse_message($fname);
|
||||
if (!$from || !$to || !$msg) {
|
||||
$this->error(NULL, _t('Could not parse message.'));
|
||||
$this->error(NULL, _('Could not parse message.'));
|
||||
}
|
||||
common_log(LOG_INFO, "Mail from $from to $to: " .substr($msg, 0, 20));
|
||||
$user = $this->user_from($from);
|
||||
|
Loading…
Reference in New Issue
Block a user