X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcontactgroup.php;h=0c2d6a0cbec1f9292f296e42d3ba22360c0e87a6;hb=de4a2e6fd03cd0aab94a256eba92ed593931534b;hp=bf81afe079118767cd83e3917871e6cf34e510ff;hpb=743f2e0391315d6945b5c53a4d08938ee85e6aed;p=friendica.git diff --git a/mod/contactgroup.php b/mod/contactgroup.php index bf81afe079..0c2d6a0cbe 100644 --- a/mod/contactgroup.php +++ b/mod/contactgroup.php @@ -1,11 +1,12 @@ argv[2]), intval(local_user()) ); - if(count($r)) + if (DBM::is_result($r)) $change = intval($a->argv[2]); } @@ -24,7 +25,7 @@ function contactgroup_content(&$a) { intval($a->argv[1]), intval(local_user()) ); - if(! count($r)) { + if (! DBM::is_result($r)) { killme(); } @@ -47,4 +48,4 @@ function contactgroup_content(&$a) { } killme(); -} \ No newline at end of file +}