[xoops-cvslog 2987] CVS update: xoops2jp/html/modules/legacyRender/admin/actions

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 5月 11日 (木) 18:09:55 JST


Index: xoops2jp/html/modules/legacyRender/admin/actions/BannerEditAction.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/actions/BannerEditAction.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/actions/BannerEditAction.class.php:1.1.2.2
--- xoops2jp/html/modules/legacyRender/admin/actions/BannerEditAction.class.php:1.1.2.1	Mon Apr 24 16:30:10 2006
+++ xoops2jp/html/modules/legacyRender/admin/actions/BannerEditAction.class.php	Thu May 11 18:09:55 2006
@@ -18,6 +18,14 @@
 		return $handler;
 	}
 
+	function _setupObject()
+	{
+		parent::_setupObject();
+		if (is_object($this->mObject) && $this->mObject->isNew()) {
+			$this->mObject->set('cid', xoops_getrequest('cid'));
+		}
+	}
+	
 	function _setupActionForm()
 	{
 		$this->mActionForm =& new LegacyRender_BannerAdminEditForm();


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