message fixes

This commit is contained in:
Mike Macgirvin 2010-07-30 22:27:41 -07:00
commit aea121ea2a
2 changed files with 4 additions and 4 deletions

View file

@ -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",