Aleksander Machniak
2015-01-13 d1382aecb2b3439a34869221ddab8018c511f7e6
program/steps/settings/save_identity.inc
@@ -49,6 +49,11 @@
    }
}
// make the identity a "default" if only one identity is allowed
if (IDENTITIES_LEVEL > 1) {
    $save_data['standard'] = 1;
}
// unset email address if user has no rights to change it
if (IDENTITIES_LEVEL == 1 || IDENTITIES_LEVEL == 3) {
    unset($save_data['email']);