diff options
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 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++; } |