onokazu
onoka****@users*****
2005年 8月 3日 (水) 21:39:16 JST
Index: xoops2jp/html/modules/system/admin/images/main.php diff -u xoops2jp/html/modules/system/admin/images/main.php:1.3 xoops2jp/html/modules/system/admin/images/main.php:1.4 --- xoops2jp/html/modules/system/admin/images/main.php:1.3 Sat Jun 11 11:32:51 2005 +++ xoops2jp/html/modules/system/admin/images/main.php Wed Aug 3 21:39:16 2005 @@ -1,5 +1,5 @@ <?php -// $Id: main.php,v 1.3 2005/06/11 02:32:51 onokazu Exp $ +// $Id: main.php,v 1.4 2005/08/03 12:39:16 onokazu 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'];