Bug 1158

https://github.com/phalcon/cphalcon/issues/1158