summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-04-22 13:39:13 +0000
committeralecpl <alec@alec.pl>2010-04-22 13:39:13 +0000
commitb80a97adb0fe49d705acb5d8f12bf36f782ef068 (patch)
tree566b00c2ce9d454f8d99ca56c72f807d530b4297 /program
parent356a797b291fc7fd2f291791f48dbc1c093d1abc (diff)
- fix dublicated 'show' action after contact creation
Diffstat (limited to 'program')
-rw-r--r--program/steps/addressbook/save.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/program/steps/addressbook/save.inc b/program/steps/addressbook/save.inc
index b28294eea..168d995a1 100644
--- a/program/steps/addressbook/save.inc
+++ b/program/steps/addressbook/save.inc
@@ -93,7 +93,7 @@ else
{
// check for existing contacts
$existing = $CONTACTS->search('email', $a_record['email'], true, false);
-
+
// show warning message
if ($existing->count)
{
@@ -121,8 +121,7 @@ else
// show confirmation
$OUTPUT->show_message('successfullysaved', 'confirmation', null, false);
- rcmail_overwrite_action('show');
- $_GET['_cid'] = $insert_id;
+ $OUTPUT->send('iframe');
}
else
{