Fix error when maildaemon tries to report a message parsing error

darcs-hash:20081007083521-f6e2c-00bd73ab4df406188713e7a652b0bd5a7012bf6d.gz
This commit is contained in:
CiaranG 2008-10-07 04:35:21 -04:00
parent c197b228eb
commit 2cc3136dca
1 changed files with 1 additions and 1 deletions

View File

@ -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);