diff options
author | jeremie kornobis <jkornobis@linagora.com> | 2012-11-26 14:12:48 +0100 |
---|---|---|
committer | jeremie kornobis <jkornobis@linagora.com> | 2012-11-26 14:17:20 +0100 |
commit | f12585297974a994bd9b081cd1d70e8ab8d2365e (patch) | |
tree | 4978171bd5b071a1a74bc32a7f9ec8f356bc4409 /program/steps/settings/save_identity.inc | |
parent | 7fac4dc87b2507227666db9b74d83090f38d62e7 (diff) |
Add new identity level: one identity with edit only signature
Diffstat (limited to 'program/steps/settings/save_identity.inc')
-rw-r--r-- | program/steps/settings/save_identity.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/save_identity.inc b/program/steps/settings/save_identity.inc index 8515c44f1..7ca54a179 100644 --- a/program/steps/settings/save_identity.inc +++ b/program/steps/settings/save_identity.inc @@ -26,7 +26,7 @@ $a_boolean_cols = array('standard', 'html_signature'); $updated = $default_id = false; // check input -if (empty($_POST['_name']) || (empty($_POST['_email']) && IDENTITIES_LEVEL != 1 && IDENTITIES_LEVEL != 3)) +if (IDENTITIES_LEVEL != 4 && (empty($_POST['_name']) || (empty($_POST['_email']) && IDENTITIES_LEVEL != 1 && IDENTITIES_LEVEL != 3))) { $OUTPUT->show_message('formincomplete', 'warning'); rcmail_overwrite_action('edit-identity'); |