onokazu
onoka****@users*****
2005年 6月 28日 (火) 16:45:07 JST
Index: xoops2jp/html/modules/news/submit.php diff -u xoops2jp/html/modules/news/submit.php:1.3 xoops2jp/html/modules/news/submit.php:1.4 --- xoops2jp/html/modules/news/submit.php:1.3 Sat Jun 11 11:32:47 2005 +++ xoops2jp/html/modules/news/submit.php Tue Jun 28 16:45:07 2005 @@ -1,5 +1,5 @@ <?php -// $Id: submit.php,v 1.3 2005/06/11 02:32:47 onokazu Exp $ +// $Id: submit.php,v 1.4 2005/06/28 07:45:07 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -87,6 +87,9 @@ if ( $xoopsUser->isAdmin($xoopsModule->mid()) ) { $nohtml_db = empty($_POST['nohtml']) ? 0 : 1; } + if (( $xoopsModuleConfig['anonpost'] == 1 ) && $noname) { + $uid = 0; + } } else { if ( $xoopsModuleConfig['anonpost'] == 1 ) { $uid = 0;