omise / omise-opencart

Omise OpenCart Plugin
https://docs.opn.ooo/opencart-plugin
MIT License
10 stars 11 forks source link

fix error `[] operator not supported for strings` #53

Closed bigomise closed 4 years ago

bigomise commented 5 years ago

change default value to empty array

1. Objective

To fix issue that the Omise setting page shows an error or blank page after installed and clicked an edit button.

2. Description of change

Change a default value from empty string to empty array.

3. Quality assurance

Specify where and how you tested this and what further testing it might need.

🔧 Environments:

Specify the details of your test environments, including, for each, the platform version (on which the plugin was run), the Omise plugin version, and the versions of your system software such as PHP or Ruby.

i.e.

✏️ Details:

1) Go to Home->Payments 2) Click a button to install Omise Payment 3) Click an edit button

4. Impact of the change

02 03

5. Priority of change

Normal

6. Additional notes

N/A

jacstn commented 5 years ago

the @nimid is back!!!!