29
0
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:
Chris Davenport 2014-07-26 11:45:11 +01:00 committed by Thomas Hunziker
parent 17e46cc708
commit 945fe1d488

View File

@ -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;
}