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/steps | |
parent | d8ff4c2fc156e1f300c5e41b28e1615215f66e85 (diff) |
Don't show errors when moving contacts into groups they're already in (#1488493)
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/addressbook/groups.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/steps/addressbook/groups.inc b/program/steps/addressbook/groups.inc index 3bdd89fa7..201eb0634 100644 --- a/program/steps/addressbook/groups.inc +++ b/program/steps/addressbook/groups.inc @@ -50,8 +50,10 @@ if ($RCMAIL->action == 'group-addmembers') { if ($result) $OUTPUT->show_message('contactaddedtogroup'); - else + else if ($plugin['abort'] || $CONTACTS->get_error()) $OUTPUT->show_message($plugin['message'] ? $plugin['message'] : 'errorsaving', 'error'); + else + $OUTPUT->show_message($plugin['message'] ? $plugin['message'] : 'nogroupassignmentschanged'); } } |