null notice when sending private mail
This commit is contained in:
parent
421921d4d0
commit
ff0a73bf40
@ -76,7 +76,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto='
|
|||||||
dbesc($uri),
|
dbesc($uri),
|
||||||
intval($channel['channel_id'])
|
intval($channel['channel_id'])
|
||||||
);
|
);
|
||||||
if(count($r))
|
if($r)
|
||||||
$post_id = $r[0]['id'];
|
$post_id = $r[0]['id'];
|
||||||
else {
|
else {
|
||||||
$ret['message'] = t('Stored post could not be verified.');
|
$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['success'] = true;
|
||||||
$ret['message_item'] = intval($post_id);
|
$ret['message_item'] = intval($post_id);
|
||||||
return;
|
return $ret;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
2013-02-03.220
|
2013-02-04.221
|
||||||
|
Reference in New Issue
Block a user