joomla/joomla-cms — pull request #905 by okonomiyaki3000 (2013-03-27 08:38:39+00:00)
Title: In case there are no results...

$results is null, so don't use it in foreach