d* PM cont.

This commit is contained in:
friendica
2014-09-23 04:34:35 -07:00
parent 509a85cb12
commit ad86cc24c8
3 changed files with 11 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ function notifier_run($argv, $argc){
$message = q("SELECT * FROM `mail` WHERE `id` = %d LIMIT 1",
intval($item_id)
);
if(! count($message)){
if(! $message) {
return;
}
xchan_mail_query($message[0]);