yiisoft/yii — pull request #1526 by kix (2012-10-03 14:02:46+00:00)
Title: Update framework/web/helpers/CHtml.php

If $listData is empty or not an array, ```Invalid argument supplied for foreach()``` warning is thrown.