From 36cd695ed58ad14ba69b77027e454398a0c03bee Mon Sep 17 00:00:00 2001 From: Finn Date: Wed, 29 Nov 2017 16:24:03 +0000 Subject: [PATCH] Amended validation on orgs --- lib/Pear/LocalLoop/Controller/Admin/Organisations.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm b/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm index 4ce41b6..140acd7 100644 --- a/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm +++ b/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm @@ -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;