From f8976bd4b834f77846f43a3ea0daba7fbc14d223 Mon Sep 17 00:00:00 2001 From: lmrwork <59361885@qq.com> Date: Fri, 19 Oct 2018 13:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=87=8F=20AMP=20PC=20CSS=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/info_amp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index f12842b6..2f35bbdb 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -24,9 +24,9 @@ class Info_amp extends CI_Controller $json = $this->input->get_post('json'); $html = $this->input->get_post('html'); $pc_html = $this->input->get_post('pchtml'); - if ($pc_html === 0) $pc_html = ''; + if (!$pc_html) $pc_html = ''; $pc_css = $this->input->get_post('pccss'); - if ($pc_css === 0) $pc_css = ''; + if (!$pc_css) $pc_css = ''; $css = $this->input->get_post('css'); $schema = $this->input->get_post('schema'); $script = $this->input->get_post('script');