Merge pull request #80 from Pear-Trading/finn/validationfix

Amended validation on orgs
This commit is contained in:
Finn 2017-11-30 12:27:17 +00:00 committed by GitHub
commit 3868721324
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;