Index: /branches/version-2_13-dev/data/class/pages/admin/design/LC_Page_Admin_Design_UpDown.php
===================================================================
--- /branches/version-2_13-dev/data/class/pages/admin/design/LC_Page_Admin_Design_UpDown.php	(revision 22926)
+++ /branches/version-2_13-dev/data/class/pages/admin/design/LC_Page_Admin_Design_UpDown.php	(revision 22933)
@@ -141,9 +141,8 @@
         $arrErr = $objFormParam->checkError();
         $template_code = $objFormParam->getValue('template_code');
-        $template_name = $objFormParam->getValue('template_name');
 
         // 同名のフォルダが存在する場合はエラー
-        if (file_exists(USER_TEMPLATE_REALDIR . $template_name) && $template_name != "") {
-            $arrErr['template_name'] = '※ 同名のファイルがすでに存在します。<br/>';
+        if (file_exists(USER_TEMPLATE_REALDIR . $template_code) && $template_code != "") {
+            $arrErr['template_code'] = '※ 同名のファイルがすでに存在します。<br/>';
         }
 
