Minahito
minah****@users*****
2006年 4月 14日 (金) 15:28:00 JST
Index: xoops2jp/html/include/functions.php diff -u xoops2jp/html/include/functions.php:1.2.8.12 xoops2jp/html/include/functions.php:1.2.8.13 --- xoops2jp/html/include/functions.php:1.2.8.12 Tue Apr 11 19:27:27 2006 +++ xoops2jp/html/include/functions.php Fri Apr 14 15:28:00 2006 @@ -1,5 +1,5 @@ <?php -// $Id: functions.php,v 1.2.8.12 2006/04/11 10:27:27 minahito Exp $ +// $Id: functions.php,v 1.2.8.13 2006/04/14 06:28:00 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -29,6 +29,10 @@ function xoops_getrequest($name) { + if (!isset($_REQUEST[$name])) { + return null; + } + if (!get_magic_quotes_gpc()) { return isset($_REQUEST[$name]) ? $_REQUEST[$name] : null; }