]> git.mxchange.org Git - friendica.git/blobdiff - mod/contactgroup.php
Fixing some notice again
[friendica.git] / mod / contactgroup.php
index ac6d5e6b62ec4420c863e1f1661c62fe1e478d65..753d3a07332139f4690deb35d4eb8785e2a6e832 100644 (file)
@@ -17,7 +17,7 @@ function contactgroup_content(App $a)
                        intval($a->argv[2]),
                        intval(local_user())
                );
-               if (DBA::is_result($r)) {
+               if (DBA::isResult($r)) {
                        $change = intval($a->argv[2]);
                }
        }
@@ -27,7 +27,7 @@ function contactgroup_content(App $a)
                        intval($a->argv[1]),
                        intval(local_user())
                );
-               if (!DBA::is_result($r)) {
+               if (!DBA::isResult($r)) {
                        killme();
                }
 
@@ -40,7 +40,7 @@ function contactgroup_content(App $a)
                        }
                }
 
-               if (x($change)) {
+               if (!empty($change)) {
                        if (in_array($change, $preselected)) {
                                Group::removeMember($group['id'], $change);
                        } else {