diff --git a/install.xml b/install.xml new file mode 100644 index 0000000..5d71920 --- /dev/null +++ b/install.xml @@ -0,0 +1,14 @@ + + + CoinGate + coningate + 3.1.3 + Ivan + + + + request->post['code']) != 3)]]> + request->post['code']), array(3, 4)))]]> + + + diff --git a/upload/admin/model/extension/payment/coingate.php b/upload/admin/model/extension/payment/coingate.php index fdd5bdb..2f0c6e8 100644 --- a/upload/admin/model/extension/payment/coingate.php +++ b/upload/admin/model/extension/payment/coingate.php @@ -15,7 +15,7 @@ public function install() { // Modify the currency table to allow 4-character currency code $this->db->query(" ALTER TABLE `" . DB_PREFIX . "currency` - MODIFY `code` VARCHAR(3) NOT NULL; + MODIFY `code` VARCHAR(4) COLLATE utf8_general_ci NOT NULL; "); $this->load->model('setting/setting');