[xoops-cvslog 2171] CVS update: xoops2jp/html/modules/user/admin/forms

Zurück zum Archiv-Index

NobuNobu nobun****@users*****
2006年 2月 3日 (金) 22:44:51 JST


Index: xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php
diff -u xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.3 xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.4
--- xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.3	Thu Feb  2 17:35:27 2006
+++ xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php	Fri Feb  3 22:44:51 2006
@@ -31,16 +31,16 @@
 
 	function load(&$group)
 	{
-		$this->set('groupid', $group->getVar('groupid'));
-		$this->set('name', $group->getVar('name'));
-		$this->set('description', $group->getVar('description'));
+		$this->set('groupid', $group->get('groupid'));
+		$this->set('name', $group->get('name'));
+		$this->set('description', $group->get('description'));
 	}
 
 	function update(&$group)
 	{
-		$group->setVar('groupid', $this->getVar('groupid'));
-		$group->setVar('name', $this->getVar('name'));
-		$group->setVar('description', $this->getVar('description'));
+		$group->setVar('groupid', $this->get('groupid'));
+		$group->setVar('name', $this->get('name'));
+		$group->setVar('description', $this->get('description'));
 	}
 }
 


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