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