Bug TemplateFinder::searchTitle() accepts 1 parameters but 2 are passed

There is a bug in this version
T

TickTackk

Guest
In \XF\Admin\Controller\StyleController
PHP:

Code:
        if (strlen($filter['text']))
        {
            $templateFinder->Template->searchTitle($filter['text'], $filter['prefix']);
        }

In \XF\Finder\TemplateFinder
PHP:

Code:
    public function searchTitle($match)
    {
        if (strlen($match))
        {
            $this->where(
                $this->columnUtf8('title'),
                'LIKE',
                $this->escapeLike($match, '%?%')
            );
        }...

Read more

Continue reading...