diff options
author | thomascube <thomas@roundcube.net> | 2011-04-19 20:41:24 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-04-19 20:41:24 +0000 |
commit | bbb1427caabba60e4329d4b3653fbf29d5ddddcc (patch) | |
tree | 0bc16083f5731593ed6a35a374a34a2e9b6a745d /program/steps/settings/edit_identity.inc | |
parent | 968754b09ebc1b501d0840e8c4eb3d0f617a5080 (diff) |
Gracefully shrug on database errors
Diffstat (limited to 'program/steps/settings/edit_identity.inc')
-rw-r--r-- | program/steps/settings/edit_identity.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/edit_identity.inc b/program/steps/settings/edit_identity.inc index 71bd349a3..426c18ed0 100644 --- a/program/steps/settings/edit_identity.inc +++ b/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; |