Fixed validation for organisation edit
This commit is contained in:
parent
49beb3037d
commit
4d299cee10
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ sub post_account_update {
|
|||
if ( defined $user->customer_id ) {
|
||||
$validation->required('display_name');
|
||||
$validation->required('full_name');
|
||||
} elsif ( defined $user->customer_id ) {
|
||||
} elsif ( defined $user->organisation_id ) {
|
||||
$validation->required('name');
|
||||
$validation->required('street_name');
|
||||
$validation->required('town');
|
||||
|
|
Reference in a new issue