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