From 77f75ebddafdea0675443fb48b77f47d30e87c85 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Wed, 25 Oct 2017 15:10:56 -0400 Subject: Oops, removed debugging die() --- dash/dash_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dash/dash_functions.php') diff --git a/dash/dash_functions.php b/dash/dash_functions.php index ab32e3b..2779bb9 100644 --- a/dash/dash_functions.php +++ b/dash/dash_functions.php @@ -45,7 +45,7 @@ function validate_address ($addr) { '/^[A-Z]{2}$/', ); foreach ($addr as $k => $addrpt) { - if (!preg_match($patterns[$k], $addrpt)) die($addrpt); + if (!preg_match($patterns[$k], $addrpt)) return false; } return true; } -- cgit v1.2.3