aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Contactgroup.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Contactgroup.php')
-rw-r--r--Zotlabs/Module/Contactgroup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Contactgroup.php b/Zotlabs/Module/Contactgroup.php
index 497442ff4..bbe56b4ad 100644
--- a/Zotlabs/Module/Contactgroup.php
+++ b/Zotlabs/Module/Contactgroup.php
@@ -41,10 +41,10 @@ class Contactgroup extends \Zotlabs\Web\Controller {
if($change) {
if(in_array($change,$preselected)) {
- group_rmv_member(local_channel(),$group['name'],$change);
+ group_rmv_member(local_channel(),$group['gname'],$change);
}
else {
- group_add_member(local_channel(),$group['name'],$change);
+ group_add_member(local_channel(),$group['gname'],$change);
}
}
}