summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-19 08:35:08 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-19 08:35:43 +0200
commit59997a303055ac01be34e078692e96a0a63a1584 (patch)
treef80d818ee600ad29a7188e669158cfbaa328ed8b /program/lib/Roundcube
parent8b8462018a57276033d5c6a81959f40a34d0a010 (diff)
Fix DB error when creating a new contact and a group is selected (#1489051)
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r--program/lib/Roundcube/rcube_contacts.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/program/lib/Roundcube/rcube_contacts.php b/program/lib/Roundcube/rcube_contacts.php
index c66e98687..e4fd7dc10 100644
--- a/program/lib/Roundcube/rcube_contacts.php
+++ b/program/lib/Roundcube/rcube_contacts.php
@@ -626,10 +626,6 @@ class rcube_contacts extends rcube_addressbook
$insert_id = $this->db->insert_id($this->db_name);
}
- // also add the newly created contact to the active group
- if ($insert_id && $this->group_id)
- $this->add_to_group($this->group_id, $insert_id);
-
$this->cache = null;
return $insert_id;