Prevent PHP notice

Made this solution according to this issue:
http://framework.zend.com/issues/browse/ZF-5545