aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-23 04:34:35 -0700
committerfriendica <info@friendica.com>2014-09-23 04:34:35 -0700
commitad86cc24c843ee577df508ba4d03c34788bec991 (patch)
treec2439f57c2fa8601e18bd58232b50ac0a29b978a /include/notifier.php
parent509a85cb12636dc01b59935febf9419cfb02fd48 (diff)
downloadvolse-hubzilla-ad86cc24c843ee577df508ba4d03c34788bec991.tar.gz
volse-hubzilla-ad86cc24c843ee577df508ba4d03c34788bec991.tar.bz2
volse-hubzilla-ad86cc24c843ee577df508ba4d03c34788bec991.zip
d* PM cont.
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 47072415b..79a6886ad 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -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]);