|
@@ -2230,9 +2230,11 @@ String function cmd_group_list():
|
|
|
result = "Success: "
|
|
|
groups = allAssociationDestinations(core, current_user_id, "belongsTo")
|
|
|
while (set_len(groups) > 0):
|
|
|
- egroup_id = set_pop(groups2
|
|
|
- if (set_in(allAssociationDestinations(core, group_id, "owner"),
|
|
|
- current_user_id)): admin = " A " else: admin = " "
|
|
|
+ group_id = set_pop(groups)
|
|
|
+ if (set_in(allAssociationDestinations(core, group_id, "owner"), current_user_id)):
|
|
|
+ admin = " A "
|
|
|
+ else:
|
|
|
+ admin = " "
|
|
|
|
|
|
result = result + (string_join(admin, read_attribute(core, group_id, "name")) + "\n")
|
|
|
|