测试不显示推荐信息判断

hotfix/paypal-note
Jimmy Liow 2 years ago
parent 3ae6cdcc07
commit 7799241196

@ -990,7 +990,9 @@ class Information extends CI_Controller
$tipsRightList = [];
for ($i=1; $i <= 36; $i++) {
$key = 'List Tips Right '.$i;
if (array_key_exists($key, $recommand_information)) {
if (array_key_exists($key, $recommand_information) &&
$recommand_information[$key] != 'rule_no_show' &&
$recommand_information[$key] != false) {
var_dump($recommand_information[$key]);
$tipsRightList[] = $recommand_information[$key];
}

Loading…
Cancel
Save