[xoops-cvslog 6284] CVS update: xoops2jp/html/modules/legacy/admin/actions

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2007年 4月 7日 (土) 15:21:44 JST


Index: xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php
diff -u xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php:1.1.2.6 xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php:1.1.2.6.2.1
--- xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php:1.1.2.6	Thu Jan 18 14:05:11 2007
+++ xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php	Sat Apr  7 15:21:44 2007
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package Legacy
- * @version $Id: BlockEditAction.class.php,v 1.1.2.6 2007/01/18 05:05:11 minahito Exp $
+ * @version $Id: BlockEditAction.class.php,v 1.1.2.6.2.1 2007/04/07 06:21:44 tom_g3x Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -117,7 +117,7 @@
 			
 			$gpermArr =&  $permHandler->getObjects($criteria);
 			foreach ($gpermArr as $gperm) {
-				if (!in_array($gperm->get('gperm_groupid', $currentGroupid))) {
+				if (!in_array($gperm->get('gperm_groupid'), $currentGroupid)) {
 					$permHandler->delete($gperm);
 				}
 			}
@@ -125,7 +125,7 @@
 			foreach ($this->mObject->mGroup as $group) {
 				$insertFlag = true;
 				foreach ($gpermArr as $gperm) {
-					if ($gperm->get('gperm_groupid') == $group->get('group_id')) {
+					if ($gperm->get('gperm_groupid') == $group->get('groupid')) {
 						$insertFlag = false;
 					}
 				}


xoops-cvslog メーリングリストの案内
Back to archive index