Merge pull request #80 from Pear-Trading/finn/validationfix
Amended validation on orgs
This commit is contained in:
commit
4255b70f8e
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ sub valid_edit {
|
|||
|
||||
my $validation = $c->validation;
|
||||
$validation->required('name');
|
||||
$validation->required('street_name');
|
||||
$validation->optional('street_name');
|
||||
$validation->required('town');
|
||||
$validation->optional('sector');
|
||||
$validation->required('postcode')->postcode;
|
||||
|
|
Reference in a new issue