summaryrefslogtreecommitdiff
path: root/dash
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2017-10-25 15:10:56 -0400
committerCarson Fleming <cflems@cflems.net>2017-10-25 15:10:56 -0400
commit77f75ebddafdea0675443fb48b77f47d30e87c85 (patch)
treed0984af235495083e8e55b766eed7e7981cd7d91 /dash
parent35d010cbb214d5beea6c0153ad18a644d2de92a0 (diff)
downloadbulletin-77f75ebddafdea0675443fb48b77f47d30e87c85.tar.gz
Oops, removed debugging die()
Diffstat (limited to 'dash')
-rw-r--r--dash/dash_functions.php2
1 files changed, 1 insertions, 1 deletions
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;
}