X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotifications.php;h=9760b34707609a2d4b3a37acc4f2d87db877f832;hb=6a8a36f12d00f35004fbb034972ca87dd1a3c4f5;hp=af44097c1cb42a508c3267665d37b8fd2de8c52e;hpb=293436e5fd5110220c969513858dbb979f1f35d3;p=friendica.git diff --git a/mod/notifications.php b/mod/notifications.php index af44097c1c..9760b34707 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -27,7 +27,7 @@ function notifications_post(&$a) { intval(local_user()) ); - if(count($r)) { + if(dbm::is_result($r)) { $intro_id = $r[0]['id']; $contact_id = $r[0]['contact-id']; }