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:08 +0200 |
commit | 7652687692bffdc31a1b65ed4afce97addd2bbde (patch) | |
tree | 47a793d3373689d57acd190b868aaedea05b1c41 /program/steps | |
parent | ca2c6316fb1bd6b092df9ca323152f1050ee2d56 (diff) |
Fix DB error when creating a new contact and a group is selected (#1489051)
Diffstat (limited to 'program/steps')
-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 |