From 27e8d4e8d377d5e3d0e567f830fe2d5b1d548e4d Mon Sep 17 00:00:00 2001 From: cyc Date: Mon, 18 Feb 2019 15:37:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/htmlcompressor/controllers/index_gm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/third_party/htmlcompressor/controllers/index_gm.php b/application/third_party/htmlcompressor/controllers/index_gm.php index 48d9f4cf..5537aedb 100644 --- a/application/third_party/htmlcompressor/controllers/index_gm.php +++ b/application/third_party/htmlcompressor/controllers/index_gm.php @@ -315,7 +315,7 @@ class Index_gm extends CI_Controller $css_content .= $get_http_temp; } - foreach ($html_object->find('style') as $style) { + foreach ($this->html_object->find('style') as $style) { $css_content .= $style->innertext; $style->outertext = ''; }