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

Status
This content is read-only, or is not open for further replies.

TickTackk

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom