diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-05-30 11:35:28 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-05-30 11:35:57 +0200 |
commit | 86135e2bcca0546b9c200a9663ec3ad7b94459fa (patch) | |
tree | f1c2701715a8a05e661ab24a4ffc1c0edfc6b5a8 /program/include/rcube_contacts.php | |
parent | d8ff4c2fc156e1f300c5e41b28e1615215f66e85 (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.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php index c30751faf..3e30043ae 100644 --- a/program/include/rcube_contacts.php +++ b/program/include/rcube_contacts.php @@ -937,7 +937,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++; } |