X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcontactgroup.php;h=0c2d6a0cbec1f9292f296e42d3ba22360c0e87a6;hb=a5e91175243a41c77a56e73efc3672f20a7e6d23;hp=0291350b21ed154dd5379253feb22c6d1f73ca47;hpb=0c67c89715df801e0c887be50c9739db3bae7ca3;p=friendica.git diff --git a/mod/contactgroup.php b/mod/contactgroup.php index 0291350b21..0c2d6a0cbe 100644 --- a/mod/contactgroup.php +++ b/mod/contactgroup.php @@ -1,12 +1,12 @@ argv[2]), intval(local_user()) ); - if(count($r)) + if (DBM::is_result($r)) $change = intval($a->argv[2]); } @@ -25,7 +25,7 @@ function contactgroup_content(&$a) { intval($a->argv[1]), intval(local_user()) ); - if(! count($r)) { + if (! DBM::is_result($r)) { killme(); } @@ -49,4 +49,3 @@ function contactgroup_content(&$a) { killme(); } -}