summaryrefslogtreecommitdiff
path: root/inc/filters.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/filters.php')
-rw-r--r--inc/filters.php2
1 files changed, 1 insertions, 1 deletions
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':