X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fcontactgroup.php;h=2a44e2889655d33254819aefe2a711391c5f6232;hb=4a473611163a12b48d3bbad71dc54765be8789f9;hp=0291350b21ed154dd5379253feb22c6d1f73ca47;hpb=d6cf791677e3c676108f84e64818ba2a272f6d08;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(); } -}