alecpl
2010-04-22 b80a97adb0fe49d705acb5d8f12bf36f782ef068
- fix dublicated 'show' action after contact creation


1 files modified
5 ■■■■■ changed files
program/steps/addressbook/save.inc 5 ●●●●● patch | view | raw | blame | history
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
  {