From aa63f3548fc89516b1a852f97a0988e6c0b71f7c Mon Sep 17 00:00:00 2001 From: lmrwork <59361885@qq.com> Date: Wed, 17 Oct 2018 14:33:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0PC=20AMP=20BODY=20|=20fix=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/info_amp.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 539b7bac..d40b4b52 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -23,7 +23,8 @@ class Info_amp extends CI_Controller $icid = $this->input->get_post('icid'); $json = $this->input->get_post('json'); $html = $this->input->get_post('html'); - $pc_html = $this->input->get_post('pc_html') || ''; + $pc_html = $this->input->get_post('pc_html'); + if ($pc_html == 0) $pc_html = ''; $css = $this->input->get_post('css'); $schema = $this->input->get_post('schema'); $script = $this->input->get_post('script');