program/steps/settings/save_identity.inc
@@ -61,11 +61,12 @@ $updated = $DB->affected_rows(); } if ($updated && !empty($_POST['_standard'])) if ($updated) { show_message('successfullysaved', 'confirmation'); // mark all other identities as 'not-default' if (!empty($_POST['_standard'])) $DB->query("UPDATE ".get_table_name('identities')." SET ".$DB->quoteIdentifier('standard')."='0' WHERE user_id=?