Hi,
I am able to add new contact in a group even though I limited this in a configuration file $config['max_group_members'] = 10;
The problem is in a program\steps\addressbook\save.inc row 228:
if (($maxnum = $RCMAIL->config->get('max_group_members', 0)) && ($counts->count + 1 > $maxnum))
$OUTPUT->show_message('maxgroupmembersreached', 'warning', array('max' => $maxnum));
$CONTACTS->add_to_group($plugin['group_id'], $plugin['ids']);
If I add else, the problem is solved
if (($maxnum = $RCMAIL->config->get('max_group_members', 0)) && ($counts->count + 1 > $maxnum))
$OUTPUT->show_message('maxgroupmembersreached', 'warning', array('max' => $maxnum));
else
$CONTACTS->add_to_group($plugin['group_id'], $plugin['ids']);
Is it possible to resolve this in a feature release?
BR,
Miodrag
Yes, ticket created. http://trac.roundcube.net/ticket/1490214