From 6c76c91951d259f59b2b7a42b8fe895dcc0ef21b Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 23 Aug 2006 17:36:37 -0400 Subject: [PATCH] Updated Polish, Portuguese, Latvian, Chinese and Japanese localization --- program/steps/settings/save_identity.inc | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/program/steps/settings/save_identity.inc b/program/steps/settings/save_identity.inc index f5780de..2d64dc7 100644 --- a/program/steps/settings/save_identity.inc +++ b/program/steps/settings/save_identity.inc @@ -55,13 +55,13 @@ WHERE identity_id=? AND user_id=? AND del<>1", - $_POST['_iid'], + get_input_value('_iid', RCUBE_INPUT_POST), $_SESSION['user_id']); $updated = $DB->affected_rows(); } - if ($updated) + if ($updated && !empty($_POST['_standard'])) { show_message('successfullysaved', 'confirmation'); @@ -72,7 +72,7 @@ AND identity_id<>? AND del<>1", $_SESSION['user_id'], - $_POST['_iid']); + get_input_value('_iid', RCUBE_INPUT_POST)); if ($_POST['_framed']) { @@ -80,7 +80,7 @@ // ... } } - else + else if ($DB->is_error()) { // show error message show_message('errorsaving', 'error'); -- Gitblit v1.9.1