From 58948a90fb6638fbe5ca1346415d0aab8b594e77 Mon Sep 17 00:00:00 2001 From: Matthew Barbour Date: Wed, 26 Jun 2019 23:14:12 -0500 Subject: [PATCH] Fixed a constant reference --- ext/media/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/media/main.php b/ext/media/main.php index 6c977fa7..d4f37cc4 100644 --- a/ext/media/main.php +++ b/ext/media/main.php @@ -428,7 +428,7 @@ class Media extends Extension { $matches = []; - if (preg_match(self::SEARCH_TERM_REGEX, strtolower($event->term), $matches) && $event->parse) { + if (preg_match(self::CONTENT_SEARCH_TERM_REGEX, strtolower($event->term), $matches) && $event->parse) { // Nothing to save, just helping filter out reserved tags }