X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcontactgroup.php;h=2a44e2889655d33254819aefe2a711391c5f6232;hb=7d0a7f6be9e6c281ddafdfed799bf8b46785424a;hp=d19e1b2ebf52ce07c8a27d3af7cec81df25f4f5c;hpb=c825cc8d0d61386cb00b6310fc4ea46c4354460d;p=friendica.git diff --git a/mod/contactgroup.php b/mod/contactgroup.php index d19e1b2ebf..2a44e28896 100644 --- a/mod/contactgroup.php +++ b/mod/contactgroup.php @@ -1,11 +1,11 @@ argv[2]), intval(local_user()) ); - if(dbm::is_result($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(); }