Browse Source

filehash filter condition

pull/40/head
Michael Foster 11 years ago
parent
commit
299b0e3f2f
  1. 2
      inc/filters.php

2
inc/filters.php

@ -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;

Loading…
Cancel
Save