fix for https://github.com/opencart/opencart/pull/836