iiYii / getyii

Yii2 community 请访问
http://www.getyii.com/
Other
438 stars 163 forks source link

Invalid argument supplied for foreach() in frontend/widgets/views/node.php #166

Closed successgo closed 5 years ago

successgo commented 5 years ago

模版中的 isset($nodes) 判断不严谨,到了 foreach 出错了。

原因主要还是 $nodes 的值为 false