mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-08-26 04:59:48 +00:00
[bug][31538] Smart Search error caused by Array to string conversion in master controller. Fixes #3974
This commit is contained in:
parent
17e46cc708
commit
945fe1d488
@ -44,7 +44,7 @@ class FinderController extends JControllerLegacy
|
||||
$input->set('view', $viewName);
|
||||
|
||||
// Don't cache view for search queries
|
||||
if ($input->get('q') || $input->get('f') || $input->get('t'))
|
||||
if ($input->get('q', null, 'string') || $input->get('f', null, 'int') || $input->get('t', null, 'array'))
|
||||
{
|
||||
$cachable = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user