Tíquete #9535

Typo in Legacy_ModuleInstallUtils
: 2006-12-07 15:07 Última Atualização: 2006-12-08 21:18

Relator:
Dono:
Estado:
Fechado
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
Nenhum

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だからあんまり影響なさそうだけど・・・

Ticket History (3/3 Histories)

2006-12-07 15:18 Updated by: mumincacao
Comentário
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
Comentário
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
  • Dono Update from (Nenhum) to tom_g3x
  • Resolução Update from Nenhum to Fixed
  • Estado Update from Aberto to Fechado
Comentário
Logged In: YES
user_id=6745

thanks. fix it!

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

Attachment File List

No attachments

Editar

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