NobuNobu
nobun****@users*****
2005年 6月 14日 (火) 01:51:53 JST
Index: xoops2jp/html/modules/news/submit.php diff -u xoops2jp/html/modules/news/submit.php:1.2.6.4 xoops2jp/html/modules/news/submit.php:1.2.6.4.2.1 --- xoops2jp/html/modules/news/submit.php:1.2.6.4 Fri May 13 20:18:28 2005 +++ xoops2jp/html/modules/news/submit.php Tue Jun 14 01:51:53 2005 @@ -1,5 +1,5 @@ <?php -// $Id: submit.php,v 1.2.6.4 2005/05/13 11:18:28 minahito Exp $ +// $Id: submit.php,v 1.2.6.4.2.1 2005/06/13 16:51:53 nobunobu 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 ($noname) { + $uid = 0; + } } else { if ( $xoopsModuleConfig['anonpost'] == 1 ) { $uid = 0;