From b9519981958c6d7cadaea593c916e0705f71dc92 Mon Sep 17 00:00:00 2001 From: bnu Date: Thu, 5 Dec 2013 21:50:41 +0900 Subject: [PATCH] =?UTF-8?q?fixed=20#141=20document=20category=20=EC=BA=90?= =?UTF-8?q?=EC=8B=9C=20=ED=8C=8C=EC=9D=BC=20=EB=AC=B8=EC=A0=9C=EB=A1=9C=20?= =?UTF-8?q?=EB=AC=B8=EC=84=9C=20=EB=B6=84=EB=A5=98=EB=AA=85=EC=9D=B4=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/document/document.controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php index 2648f53d9..ac19823cf 100644 --- a/modules/document/document.controller.php +++ b/modules/document/document.controller.php @@ -1910,6 +1910,8 @@ class documentController extends document $output = array("buff"=>"", "category_srl_list"=>array()); if(!$source_node) return $output; + $php_header_buff .= '$_titles = array();'; + $php_header_buff .= '$_descriptions = array();'; // Set to an arraty for looping and then generate php script codes to be included foreach($source_node as $category_srl => $node) { @@ -1943,7 +1945,6 @@ class documentController extends document if(count($langs)) { - $php_header_buff .= '$_titles = array();'; foreach($langs as $key => $val) { $val = htmlspecialchars($val, ENT_COMPAT | ENT_HTML401, 'UTF-8', false); @@ -1960,7 +1961,6 @@ class documentController extends document if(count($langx)) { - $php_header_buff .= '$_descriptions = array();'; foreach($langx as $key => $val) { $val = htmlspecialchars($val, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);