Fixed a constant reference
This commit is contained in:
parent
d2d6c433e6
commit
58948a90fb
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user