TickTackk
Well-known member
- Affected version
- 2.3.4
In
In
In
In
\XF\Admin\Controller\StyleController
PHP:
if (strlen($filter['text']))
{
$templateFinder->Template->searchTitle($filter['text'], $filter['prefix']);
}
In
\XF\Finder\TemplateFinder
PHP:
public function searchTitle($match)
{
if (strlen($match))
{
$this->where(
$this->columnUtf8('title'),
'LIKE',
$this->escapeLike($match, '%?%')
);
}
return $this;
}
In
\XF\Admin\Controller\LanguageController
PHP:
if (strlen($filter['text']))
{
$phrasesFinder->Phrase->searchTitle($filter['text'], $filter['prefix']);
}
In
\XF\Finder\PhraseFinder
PHP:
public function searchTitle($match, $prefixMatch = false)
{
if (strlen($match))
{
$this->where(
$this->columnUtf8('title'),
'LIKE',
$this->escapeLike($match, $prefixMatch ? '?%' : '%?%')
);
}
return $this;
}