NobuNobu
nobun****@users*****
2005年 8月 21日 (日) 13:16:55 JST
Index: xoops2jp/html/modules/xoopsheadline/index.php diff -u xoops2jp/html/modules/xoopsheadline/index.php:1.2 xoops2jp/html/modules/xoopsheadline/index.php:1.2.12.1 --- xoops2jp/html/modules/xoopsheadline/index.php:1.2 Fri Mar 18 21:52:49 2005 +++ xoops2jp/html/modules/xoopsheadline/index.php Sun Aug 21 13:16:55 2005 @@ -1,5 +1,5 @@ <?php -// $Id: index.php,v 1.2 2005/03/18 12:52:49 onokazu Exp $ +// $Id: index.php,v 1.2.12.1 2005/08/21 04:16:55 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -28,7 +28,7 @@ include '../../mainfile.php'; include 'include/functions.php'; $hlman =& xoops_getmodulehandler('headline');; -$hlid = isset($HTTP_GET_VARS['id']) ? intval($HTTP_GET_VARS['id']) : 0; +$hlid = isset($_GET['id']) ? intval($_GET['id']) : 0; $xoopsOption['template_main'] = 'xoopsheadline_index.html'; include XOOPS_ROOT_PATH.'/header.php'; $headlines =& $hlman->getObjects(new Criteria('headline_display', 1));