Minahito
minah****@users*****
2006年 1月 14日 (土) 03:25:38 JST
Index: xoops2jp/html/modules/legacyRender/admin/forms/TplsetCloneForm.class.php diff -u xoops2jp/html/modules/legacyRender/admin/forms/TplsetCloneForm.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/forms/TplsetCloneForm.class.php:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/forms/TplsetCloneForm.class.php:1.1.2.1 Sat Jan 14 02:31:14 2006 +++ xoops2jp/html/modules/legacyRender/admin/forms/TplsetCloneForm.class.php Sat Jan 14 03:25:38 2006 @@ -38,7 +38,8 @@ // Check unique name // $handler = xoops_getmodulehandler('tplset'); - if ($handler->getCount(new Criteria('tplset_name', $this->get('name'))) > 0) { + + if ($handler->getCount(new Criteria('tplset_name', $this->get('tplset_name'))) > 0) { $this->addErrorMessage(_AD_LEGACYRENDER_ERROR_UNIQUE_NAME); } }