From a95bfccdf92c9f3e0904357fe7446b3e115d0830 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;