filehash filter condition
This commit is contained in:
parent
9cf6814776
commit
299b0e3f2f
@ -91,6 +91,8 @@ class Filter {
|
|||||||
return preg_match($match, $post['subject']);
|
return preg_match($match, $post['subject']);
|
||||||
case 'body':
|
case 'body':
|
||||||
return preg_match($match, $post['body_nomarkup']);
|
return preg_match($match, $post['body_nomarkup']);
|
||||||
|
case 'filehash':
|
||||||
|
return $match === $post['filehash'];
|
||||||
case 'filename':
|
case 'filename':
|
||||||
if (!$post['has_file'])
|
if (!$post['has_file'])
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user