NobuNobu
nobun****@users*****
2005年 8月 21日 (日) 13:16:55 JST
Index: xoops2jp/html/modules/xoopsfaq/index.php diff -u xoops2jp/html/modules/xoopsfaq/index.php:1.2 xoops2jp/html/modules/xoopsfaq/index.php:1.2.12.1 --- xoops2jp/html/modules/xoopsfaq/index.php:1.2 Fri Mar 18 21:52:49 2005 +++ xoops2jp/html/modules/xoopsfaq/index.php Sun Aug 21 13:16:54 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:54 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -27,7 +27,7 @@ include 'header.php'; $myts =& MyTextSanitizer::getInstance(); -$cat_id = isset($HTTP_GET_VARS['cat_id']) ? intval($HTTP_GET_VARS['cat_id']) : 0; +$cat_id = isset($_GET['cat_id']) ? intval($_GET['cat_id']) : 0; if ($cat_id < 1) { // this page uses smarty template // this must be set before including main header.php