diff --git a/inc/filters.php b/inc/filters.php index 7204614a..ab48598f 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -28,7 +28,7 @@ class Filter { case 'name': return preg_match($match, $post['name']); case 'trip': - return preg_match($match, $post['trip']); + return $match === $post['trip']; case 'email': return preg_match($match, $post['email']); case 'subject':