From: CiaranG Date: Tue, 7 Oct 2008 08:35:21 +0000 (-0400) Subject: Fix error when maildaemon tries to report a message parsing error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2cc3136dca5c46051934ca94684c514584184d71;p=quix0rs-gnu-social.git Fix error when maildaemon tries to report a message parsing error darcs-hash:20081007083521-f6e2c-00bd73ab4df406188713e7a652b0bd5a7012bf6d.gz --- diff --git a/scripts/maildaemon.php b/scripts/maildaemon.php index db283c4a07..64f913bf92 100755 --- a/scripts/maildaemon.php +++ b/scripts/maildaemon.php @@ -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);