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