From ff0a73bf40d0503eb5a4d48be60666b73c47d4f9 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 4 Feb 2013 15:06:23 -0800 Subject: null notice when sending private mail --- include/message.php | 4 ++-- version.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/message.php b/include/message.php index 756baf15e..00cf30512 100644 --- a/include/message.php +++ b/include/message.php @@ -76,7 +76,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto=' dbesc($uri), intval($channel['channel_id']) ); - if(count($r)) + if($r) $post_id = $r[0]['id']; else { $ret['message'] = t('Stored post could not be verified.'); @@ -119,7 +119,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto=' $ret['success'] = true; $ret['message_item'] = intval($post_id); - return; + return $ret; } diff --git a/version.inc b/version.inc index 23d25688b..bb6a981d1 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2013-02-03.220 +2013-02-04.221 -- cgit v1.2.3