修复 for 循环出错

hotfix/paypal-note
Jimmy Liow 2 years ago
parent fc51e319d4
commit 54cff40d72

@ -989,7 +989,7 @@ class Information extends CI_Controller
$recommand_information = $this->recommand_information($information); $recommand_information = $this->recommand_information($information);
$tipsRightList = []; $tipsRightList = [];
for ($i=0; $i < 36; $i++) { for ($i=0; $i < 36; $i++) {
$key = 'List Tips Right '.i; $key = 'List Tips Right '.$i;
if (array_key_exists($key, $recommand_information)) { if (array_key_exists($key, $recommand_information)) {
$tipsRightList[] = $recommand_information[$key]; $tipsRightList[] = $recommand_information[$key];
} }

Loading…
Cancel
Save