]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix error when maildaemon tries to report a message parsing error
authorCiaranG <ciaran@ciarang.com>
Tue, 7 Oct 2008 08:35:21 +0000 (04:35 -0400)
committerCiaranG <ciaran@ciarang.com>
Tue, 7 Oct 2008 08:35:21 +0000 (04:35 -0400)
darcs-hash:20081007083521-f6e2c-00bd73ab4df406188713e7a652b0bd5a7012bf6d.gz

scripts/maildaemon.php

index db283c4a077da41a0da582c69e8d240432fe3f99..64f913bf924923f184d87ab03726be198deb5be9 100755 (executable)
@@ -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);