Browse Source

Custom filters: "trip" condition should be string, not regexp

pull/40/head
Michael Save 12 years ago
parent
commit
750fed8a47
  1. 2
      inc/filters.php

2
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':

Loading…
Cancel
Save