NobuNobu
nobun****@users*****
2005年 6月 28日 (火) 13:26:54 JST
Index: xoops2jp/html/modules/system/admin/images/main.php diff -u xoops2jp/html/modules/system/admin/images/main.php:1.2.6.4 xoops2jp/html/modules/system/admin/images/main.php:1.2.6.4.2.1 --- xoops2jp/html/modules/system/admin/images/main.php:1.2.6.4 Mon May 16 20:15:26 2005 +++ xoops2jp/html/modules/system/admin/images/main.php Tue Jun 28 13:26:54 2005 @@ -1,5 +1,5 @@ <?php -// $Id: main.php,v 1.2.6.4 2005/05/16 11:15:26 onokazu Exp $ +// $Id: main.php,v 1.2.6.4.2.1 2005/06/28 04:26:54 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -297,7 +297,7 @@ $imagecategoryperm_handler->insert($imagecategoryperm); unset($imagecategoryperm); } - if (!isset($writegroup)) { + if (!isset($_POST['writegroup'])) { $writegroup = array(); } else { $writegroup = $_POST['writegroup']; @@ -382,7 +382,7 @@ $criteria2->add(new Criteria('gperm_name', 'imgcat_read'), 'OR'); $criteria->add($criteria2); $imagecategoryperm_handler->deleteAll($criteria); - if (!isset($readgroup)) { + if (!isset($_POST['readgroup'])) { $readgroup = array(); } else { $readgroup = $_POST['readgroup']; @@ -399,7 +399,7 @@ $imagecategoryperm_handler->insert($imagecategoryperm); unset($imagecategoryperm); } - if (!isset($writegroup)) { + if (!isset($_POST['writegroup'])) { $writegroup = array(); } else { $writegroup = $_POST['writegroup'];