diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-04-19 08:35:08 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-04-19 08:35:43 +0200 |
commit | 59997a303055ac01be34e078692e96a0a63a1584 (patch) | |
tree | f80d818ee600ad29a7188e669158cfbaa328ed8b /program/steps/addressbook/save.inc | |
parent | 8b8462018a57276033d5c6a81959f40a34d0a010 (diff) |
Fix DB error when creating a new contact and a group is selected (#1489051)
Diffstat (limited to 'program/steps/addressbook/save.inc')
-rw-r--r-- | program/steps/addressbook/save.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/save.inc b/program/steps/addressbook/save.inc index 8cab6e817..25bfbd48b 100644 --- a/program/steps/addressbook/save.inc +++ b/program/steps/addressbook/save.inc @@ -192,7 +192,7 @@ else { 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($gid, $plugin['ids']); + $CONTACTS->add_to_group($plugin['group_id'], $plugin['ids']); } } else |