summaryrefslogtreecommitdiff
path: root/program/include/rcube_contacts.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-05-30 11:35:28 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-05-30 11:35:28 +0200
commitca1c2a8c9c69ddf92cfd07a9e5ff4ec1deb22b6b (patch)
treef968d9b367a0081da1594472dc302217097e5b60 /program/include/rcube_contacts.php
parentdcf23b931677a4016fbfc1d078b8e0943d187917 (diff)
Don't show errors when moving contacts into groups they're already in (#1488493)
Diffstat (limited to 'program/include/rcube_contacts.php')
-rw-r--r--program/include/rcube_contacts.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php
index 7edd0994d..f7fc65147 100644
--- a/program/include/rcube_contacts.php
+++ b/program/include/rcube_contacts.php
@@ -934,7 +934,9 @@ class rcube_contacts extends rcube_addressbook
$contact_id
);
- if (!$this->db->db_error)
+ if ($this->db->db_error)
+ $this->set_error(self::ERROR_SAVING, $this->db->db_error_msg);
+ else
$added++;
}