Merge pull request #34 from Pear-Trading/finn/AccountUpdateFix
Fixed validation for organisation edit
This commit is contained in:
commit
06e89c9199
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