From 299b0e3f2f0bae47c2739071c7e604f5d97a5065 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Mon, 23 Sep 2013 14:00:04 +1000 Subject: [PATCH] filehash filter condition --- inc/filters.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/filters.php b/inc/filters.php index f06154ba..f694d2b1 100644 --- a/inc/filters.php +++ b/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;