blockonomics / opencart-plugin

Bitcoin plugin for Opencart v4 by Blockonomics
4 stars 7 forks source link

Old settings not deleting #6

Closed DarrenWestwood closed 5 years ago

DarrenWestwood commented 5 years ago

$this->db->query("delete from oc_setting where code='blockonomics'"); does not use the correct database prefix: https://github.com/blockonomics/opencart3-plugin/blob/master/admin/controller/extension/payment/blockonomics.php#L247

Update query to include the correct DB_PREFIX

OpenCart Issue

jusasiiv commented 5 years ago

Fixed with https://github.com/blockonomics/opencart3-plugin/commit/b16e57b9cdd267cd237e181c5eebc44751876d47

Tested by a customer. Fix also verified on development site