diff options
author | alecpl <alec@alec.pl> | 2010-04-22 13:39:13 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-04-22 13:39:13 +0000 |
commit | b80a97adb0fe49d705acb5d8f12bf36f782ef068 (patch) | |
tree | 566b00c2ce9d454f8d99ca56c72f807d530b4297 /program | |
parent | 356a797b291fc7fd2f291791f48dbc1c093d1abc (diff) |
- fix dublicated 'show' action after contact creation
Diffstat (limited to 'program')
-rw-r--r-- | 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 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 { |