]> git.mxchange.org Git - friendica.git/blobdiff - mod/contactgroup.php
Replace x() by isset(), !empty() or defaults()
[friendica.git] / mod / contactgroup.php
index bf34c59d75eceb1dd39a6d7d1cfca864e437a8a9..753d3a07332139f4690deb35d4eb8785e2a6e832 100644 (file)
@@ -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 {