[xoops-cvslog 1535] CVS update: xoops2jp/html/modules/user/admin/class

Zurück zum Archiv-Index

Minahito minah****@users*****
2005年 12月 30日 (金) 17:29:28 JST


Index: xoops2jp/html/modules/user/admin/class/Permission.class.php
diff -u xoops2jp/html/modules/user/admin/class/Permission.class.php:1.1.2.3 xoops2jp/html/modules/user/admin/class/Permission.class.php:1.1.2.4
--- xoops2jp/html/modules/user/admin/class/Permission.class.php:1.1.2.3	Sun Dec 25 00:03:28 2005
+++ xoops2jp/html/modules/user/admin/class/Permission.class.php	Fri Dec 30 17:29:28 2005
@@ -54,8 +54,9 @@
 			$name = $this->mItem->getReadPermName();
 			if ($name) {
 				$gperm =& $this->_createGperm($name);
-				if (!$gpermHandler->insert($gperm))
+				if (!$gpermHandler->insert($gperm)) {
 					return false;
+				}
 			}
 		}
 
@@ -63,8 +64,9 @@
 			$name = $this->mItem->getAdminPermName();
 			if ($name) {
 				$gperm =& $this->_createGperm($name);
-				if (!$gpermHandler->insert($gperm))
+				if (!$gpermHandler->insert($gperm)) {
 					return false;
+				}
 			}
 		}
 		


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index