summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/settings/save_identity.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-19 17:47:45 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-19 17:47:45 +0000
commitbe68eedc41ecb868601ca78afe6367f57148bc26 (patch)
tree63dcefb6dba09593a3499f7f7fa21a21c1fbb6bf /roundcubemail/program/steps/settings/save_identity.inc
parentdd5e7c851aa0187ba08b730d61d9f07485263e0d (diff)
Don't check for non-existing property -> fix address book
git-svn-id: https://svn.roundcube.net/trunk@1407 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/save_identity.inc')
-rw-r--r--roundcubemail/program/steps/settings/save_identity.inc10
1 files changed, 2 insertions, 8 deletions
diff --git a/roundcubemail/program/steps/settings/save_identity.inc b/roundcubemail/program/steps/settings/save_identity.inc
index a35d2d73d..1eb9a9026 100644
--- a/roundcubemail/program/steps/settings/save_identity.inc
+++ b/roundcubemail/program/steps/settings/save_identity.inc
@@ -76,7 +76,7 @@ if ($_POST['_iid'])
}
}
-// insert a new contact
+// insert a new identity record
else
{
if ($insert_id = $USER->insert_identity($save_data))
@@ -87,12 +87,6 @@ else
if (!empty($_POST['_standard']))
$default_id = $insert_id;
-
- if ($_POST['_framed'])
- {
- // add contact row or jump to the page where it should appear
- // ....
- }
}
else
{
@@ -109,6 +103,6 @@ if ($default_id)
$USER->set_default($default_id);
// go to next step
-rcmail_overwrite_action($OUTPUT->action ? 'edit-identity' : 'identities');
+rcmail_overwrite_action('identities');
?> \ No newline at end of file