From 59997a303055ac01be34e078692e96a0a63a1584 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 19 Apr 2013 02:35:43 -0400 Subject: [PATCH] Fix DB error when creating a new contact and a group is selected (#1489051) --- program/lib/Roundcube/rcube_contacts.php | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/program/lib/Roundcube/rcube_contacts.php b/program/lib/Roundcube/rcube_contacts.php index c66e986..e4fd7dc 100644 --- a/program/lib/Roundcube/rcube_contacts.php +++ b/program/lib/Roundcube/rcube_contacts.php @@ -626,10 +626,6 @@ $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; -- Gitblit v1.9.1