待辦事項 #9535

Typo in Legacy_ModuleInstallUtils
啟用日期: 2006-12-07 15:07 最後更新: 2006-12-08 21:18

回報者:
負責人:
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:

細節

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

Legacy_ModuleInstallUtils::installModuleTemplate
にある

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

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

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

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

Ticket History (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 修正
  • 狀態 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. » 登入