fix foreach error on false value in iblock
Merge pull request #1 from legh/master

fix foreach error on false value in iblock