summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/settings/edit_identity.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-19 20:41:24 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-19 20:41:24 +0000
commit21b3b8c5dcd085bd1040add692b8fd6b09b33904 (patch)
tree592f05cce72f10580c3e69a7a5a0d6fa532ef563 /roundcubemail/program/steps/settings/edit_identity.inc
parent47dcc5411ec51b6e06fa3ae68e3fd0375b88df08 (diff)
Gracefully shrug on database errors
git-svn-id: https://svn.roundcube.net/trunk@4668 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/edit_identity.inc')
-rw-r--r--roundcubemail/program/steps/settings/edit_identity.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/settings/edit_identity.inc b/roundcubemail/program/steps/settings/edit_identity.inc
index 71bd349a3..426c18ed0 100644
--- a/roundcubemail/program/steps/settings/edit_identity.inc
+++ b/roundcubemail/program/steps/settings/edit_identity.inc
@@ -28,7 +28,7 @@ if (($_GET['_iid'] || $_POST['_iid']) && $RCMAIL->action=='edit-identity') {
if (is_array($IDENTITY_RECORD))
$OUTPUT->set_env('iid', $IDENTITY_RECORD['identity_id']);
else {
- $OUTPUT->show_message('opnotpermitted', 'error');
+ $OUTPUT->show_message('databaserror', 'error');
// go to identities page
rcmail_overwrite_action('identities');
return;