filehash filter condition

This commit is contained in:
Michael Foster 2013-09-23 14:00:04 +10:00
parent 9cf6814776
commit 299b0e3f2f

View File

@ -91,6 +91,8 @@ class Filter {
return preg_match($match, $post['subject']);
case 'body':
return preg_match($match, $post['body_nomarkup']);
case 'filehash':
return $match === $post['filehash'];
case 'filename':
if (!$post['has_file'])
return false;