任务单 #9535

Typo in Legacy_ModuleInstallUtils
开放日期: 2006-12-07 15:07 最后更新: 2006-12-08 21:18

报告人:
属主:
状态:
关闭
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:

Details

/modules/legacy/admin/class/ModuleInstallUtils.class.ph
p L296

Legacy_ModuleInstallUtils::installModuleTemplate
にある

$tplfile->setVar('tpl_lastimpoerted', 0);

はいちおうDBのふぃーるど名の確認もしたけど

$tplfile->setVar('tpl_lastimported', 0);

が正解だと思います。
でふぉるとも0だからあんまり影響なさそうだけど・・・

任务单历史 (3/3 Histories)

2006-12-07 15:18 Updated by: mumincacao
评论
Logged In: YES
user_id=24376

同じふぁいる&めそっどだから追加で

/modules/legacy/admin/class/ModuleInstallUtils.class.php
L311

Legacy_moduleInstallUtils::installModuleTemplate


$description = isset($tpl['description']) ? $tpl
['description'] : '';



$description = isset($template['description']) ? $template
['description'] : '';

じゃないと description はいつも空っぽになっちゃうっぽいです
2006-12-07 17:34 Updated by: mumincacao
评论
Logged In: YES
user_id=24376

同じふぁいるでもひとつ発見

/modules/legacy/admin/class/ModuleInstallUtils.class.php
L345 - 350

Legacy_ModuleInstallUtils::uninstallAllOfModuleTemplates
のはじめに

$tplHandler =& xoops_gethandler('tplfile');

//
// The following processing depends on the structure of
Legacy_RenderSystem.
//
$tplHandler =& xoops_gethandler('tplfile');

なかんじで同じ処理が続けて出てきてます
2006-12-08 21:18 Updated by: tom_g3x
  • Ticket Close date is changed to 2006-12-08 21:18
  • 属主 Update from (无) to tom_g3x
  • 处理结果 Update from to Fixed
  • 状态 Update from 开启 to 关闭
评论
Logged In: YES
user_id=6745

thanks. fix it!

下記、typo 含めて、コミットしておきました。

Attachment File List

No attachments

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名