summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/steps/settings/save_identity.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/save_identity.inc b/program/steps/settings/save_identity.inc
index f5780de4b..f099ea5f7 100644
--- a/program/steps/settings/save_identity.inc
+++ b/program/steps/settings/save_identity.inc
@@ -80,7 +80,7 @@ if ($_POST['_iid'])
// ...
}
}
- else
+ else if ($DB->is_error())
{
// show error message
show_message('errorsaving', 'error');