onokazu
onoka****@users*****
2005年 9月 5日 (月) 05:46:12 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.3 --- xoops2jp/html/modules/xoopsheadline/index.php:1.2 Fri Mar 18 21:52:49 2005 +++ xoops2jp/html/modules/xoopsheadline/index.php Mon Sep 5 05:46:12 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.3 2005/09/04 20:46:12 onokazu 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));