From b80a97adb0fe49d705acb5d8f12bf36f782ef068 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Thu, 22 Apr 2010 09:39:13 -0400 Subject: [PATCH] - fix dublicated 'show' action after contact creation --- program/steps/addressbook/save.inc | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/program/steps/addressbook/save.inc b/program/steps/addressbook/save.inc index b28294e..168d995 100644 --- a/program/steps/addressbook/save.inc +++ b/program/steps/addressbook/save.inc @@ -93,7 +93,7 @@ { // check for existing contacts $existing = $CONTACTS->search('email', $a_record['email'], true, false); - + // show warning message if ($existing->count) { @@ -121,8 +121,7 @@ // show confirmation $OUTPUT->show_message('successfullysaved', 'confirmation', null, false); - rcmail_overwrite_action('show'); - $_GET['_cid'] = $insert_id; + $OUTPUT->send('iframe'); } else { -- Gitblit v1.9.1