Minahito
minah****@users*****
2006年 5月 18日 (木) 12:04:51 JST
Index: xoops2jp/html/modules/legacyRender/admin/actions/TplfileDownloadAction.class.php diff -u xoops2jp/html/modules/legacyRender/admin/actions/TplfileDownloadAction.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/actions/TplfileDownloadAction.class.php:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/actions/TplfileDownloadAction.class.php:1.1.2.1 Wed May 17 20:15:38 2006 +++ xoops2jp/html/modules/legacyRender/admin/actions/TplfileDownloadAction.class.php Thu May 18 12:04:51 2006 @@ -21,6 +21,10 @@ function executeViewSuccess(&$controller, &$xoopsUser, &$render) { $this->mObject->loadSource(); + if ($this->mObject->Source == null) { + return LEGACYRENDER_FRAME_VIEW_ERROR; + } + $source = $this->mObject->Source->get('tpl_source'); header('Cache-Control: no-cache, must-revalidate');