Fixed a constant reference

This commit is contained in:
Matthew Barbour 2019-06-26 23:14:12 -05:00 committed by matthew
parent d2d6c433e6
commit 58948a90fb

View File

@ -428,7 +428,7 @@ class Media extends Extension
{ {
$matches = []; $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 // Nothing to save, just helping filter out reserved tags
} }