TickTackk
Well-known member
- Affected version
- 2.1.8
In file 
	
	
	
		
	
	
	
		
				
			src/XF/Admin/Controller/Language.php
		PHP:
	
	        $filter = $this->filter('_xfFilter', [
            'text' => 'str',
            'prefix' => 'bool'
        ]);
        if (strlen($filter['text']))
        {
            $phrasesFinder->Phrase->searchTitle($filter['text'], $filter['prefix']);
        }strlen is used to check the text length but inside XF:Phrase finder
		PHP:
	
	    public function searchTitle($match, $prefixMatch = false)
    {
        if ($match)
        {
            $this->where(
                $this->columnUtf8('title'),
                'LIKE',
                $this->escapeLike($match, $prefixMatch ? '?%' : '%?%')
            );
        }
        return $this;
    } 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		