fix for https://github.com/opencart/opencart/issues/1096