From 29ac8ad3deb0fb22d41b80f28e9e334f84a2cbdf Mon Sep 17 00:00:00 2001 From: zero Date: Thu, 12 Mar 2009 01:43:51 +0000 Subject: [PATCH] =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=84=B0=EA=B0=80=20?= =?UTF-8?q?=EC=97=86=EB=8A=94=20=EC=96=B8=EC=96=B4=20=EC=84=A0=ED=83=9D?= =?UTF-8?q?=EC=8B=9C=20=EB=A9=94=EB=89=B4=20=EB=AA=A8=EB=93=88=EC=9D=98=20?= =?UTF-8?q?=EA=B2=B0=EA=B3=BC=EA=B0=92=EC=9D=B4=20=EA=B9=A8=EC=96=B4?= =?UTF-8?q?=EC=A7=80=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95.?= =?UTF-8?q?=20=EB=A9=94=EB=89=B4=20=EC=BA=90=EC=8B=9C=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=9E=AC=EC=83=9D=EC=84=B1=20=ED=95=84=EC=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5850 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/module/module.admin.model.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/module/module.admin.model.php b/modules/module/module.admin.model.php index 42e93b53c..f4b4bff28 100644 --- a/modules/module/module.admin.model.php +++ b/modules/module/module.admin.model.php @@ -149,8 +149,10 @@ if($tmp) { $selected_lang = array(); $rand_name = $tmp[Context::getLangType()]; - if(!$rand_name) $rand_name = array_shift(unserialize($name)); - foreach($tmp as $key => $val) $selected_lang[$key] = $tmp[$key]?$tmp[$key]:$rand_name; + if(!$rand_name) $rand_name = array_shift($tmp); + foreach($lang_supported as $key => $val) { + $selected_lang[$key] = $tmp[$key]?$tmp[$key]:$rand_name; + } } }