summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-12-08 10:03:00 +0100
committerAleksander Machniak <alec@alec.pl>2013-12-08 10:03:00 +0100
commit39c90d6b616b61a7f7cca56595e6f7f55082b94d (patch)
treed07c1b685e207e9751f653ea82a3408dd0e56a1e
parent029f7a157da4be15302b3eaf40232c110d27bcf1 (diff)
Make sure selected group is listed after delete error (#1489463)
-rw-r--r--program/steps/addressbook/delete.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/steps/addressbook/delete.inc b/program/steps/addressbook/delete.inc
index b69d519ac..e8aafe5a9 100644
--- a/program/steps/addressbook/delete.inc
+++ b/program/steps/addressbook/delete.inc
@@ -61,8 +61,11 @@ foreach ($cids as $source => $cid)
$error = 'contactdelerror';
}
+ $source = get_input_value('_source', RCUBE_INPUT_GPC);
+ $group = get_input_value('_gid', RCUBE_INPUT_GPC);
+
$OUTPUT->show_message($error, 'error');
- $OUTPUT->command('list_contacts');
+ $OUTPUT->command('list_contacts', $source, $group);
$OUTPUT->send();
}
else {