fix for

https://github.com/opencart/opencart/issues/966