Tom Hayakawa
tom_g3x****@users*****
2006年 12月 7日 (木) 16:30:36 JST
Index: xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php diff -u xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.15 xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.16 --- xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.15 Mon Nov 20 19:46:23 2006 +++ xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php Thu Dec 7 16:30:36 2006 @@ -293,7 +293,7 @@ // $tplfile =& $tplHandler->create(); $tplfile->setVar('tpl_refid', $module->getVar('mid')); - $tplfile->setVar('tpl_lastimpoerted', 0); + $tplfile->setVar('tpl_lastimported', 0); $tplfile->setVar('tpl_lastmodified', time()); if (preg_match("/\.css$/i", $fileName)) { @@ -308,7 +308,7 @@ $tplfile->setVar('tpl_tplset', 'default'); $tplfile->setVar('tpl_file', $fileName, true); - $description = isset($tpl['description']) ? $tpl['description'] : ''; + $description = isset($template['description']) ? $template['description'] : ''; $tplfile->setVar('tpl_desc', $description, true); if ($tplHandler->insert($tplfile)) {