NobuNobu
nobun****@users*****
2005年 6月 14日 (火) 02:06:39 JST
Index: xoops2jp/html/modules/news/submit.php diff -u xoops2jp/html/modules/news/submit.php:1.2.6.4.2.1 xoops2jp/html/modules/news/submit.php:1.2.6.4.2.2 --- xoops2jp/html/modules/news/submit.php:1.2.6.4.2.1 Tue Jun 14 01:51:53 2005 +++ xoops2jp/html/modules/news/submit.php Tue Jun 14 02:06:39 2005 @@ -1,5 +1,5 @@ <?php -// $Id: submit.php,v 1.2.6.4.2.1 2005/06/13 16:51:53 nobunobu Exp $ +// $Id: submit.php,v 1.2.6.4.2.2 2005/06/13 17:06:39 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -87,7 +87,7 @@ if ( $xoopsUser->isAdmin($xoopsModule->mid()) ) { $nohtml_db = empty($_POST['nohtml']) ? 0 : 1; } - if ($noname) { + if (( $xoopsModuleConfig['anonpost'] == 1 ) && $noname) { $uid = 0; } } else {