From aea121ea2addbb3319cf37e22c4d29980612326f Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Fri, 30 Jul 2010 22:27:41 -0700 Subject: [PATCH] message fixes --- mod/message.php | 4 ++-- view/mail_head.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/message.php b/mod/message.php index e1a86727..3aac2ec2 100644 --- a/mod/message.php +++ b/mod/message.php @@ -196,7 +196,7 @@ function message_content(&$a) { ); if(! count($r)) { notice( t('No messages.') . EOL); - return; + return $o; } $tpl = file_get_contents('view/mail_list.tpl'); @@ -238,7 +238,7 @@ function message_content(&$a) { } if(! count($messages)) { notice( t('Message not available.') . EOL ); - return; + return $o; } $r = q("UPDATE `mail` SET `seen` = 1 WHERE `parent-uri` = '%s' AND `uid` = %d", diff --git a/view/mail_head.tpl b/view/mail_head.tpl index dd53d621..eac79eb5 100644 --- a/view/mail_head.tpl +++ b/view/mail_head.tpl @@ -3,7 +3,7 @@