1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-19 20:23:17 +01:00

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

This commit is contained in:
Michael Save 2012-05-19 12:23:51 +10:00
parent 65a6bb6bfa
commit abe8da6597

View File

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