yiisoft/yii2 — pull request #4658 by ruskid (2014-08-08 17:19:57+00:00)
Title: Fix: Invalid argument supplied for foreach()

no need for second foreach