From f6f75ccd6cc1acfc8de660f081aae657dc31a898 Mon Sep 17 00:00:00 2001 From: "lmr@hainatravel.com" <59361885@qq.com> Date: Mon, 17 Jul 2017 11:55:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BA=A7=E5=93=81=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index e7e61f10..df62cfed 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -518,7 +518,7 @@ class Information extends CI_Controller { } else { $url = $this->config->item('site_url') . '/index.php/welcome/update_cache/?static_html_url=' . $url; } - if ($information->ic_type == 'product') { + if (isset($information->ic_type) && $information->ic_type == 'product') { $url = $this->config->item('site_url') . '/index.php/welcome/update_cache/?static_html_url=' . $tmp; } }