Fixes ZF-5570 where foreach receives a potential non-array causing an error
Fixes ZF-5570 where foreach receives a potential non-array causing an error

EvanDotPro/zf1-mirror,EvanDotPro/zf1-mirror,EvanDotPro/zf1-mirror