[xoops-cvslog 3741] CVS update: xoops2jp/html/modules/pm/class

Back to archive index

Minahito minah****@users*****
2006年 7月 27日 (木) 18:40:56 JST


Index: xoops2jp/html/modules/pm/class/AbstractEditAction.class.php
diff -u xoops2jp/html/modules/pm/class/AbstractEditAction.class.php:1.1.2.1 xoops2jp/html/modules/pm/class/AbstractEditAction.class.php:1.1.2.2
--- xoops2jp/html/modules/pm/class/AbstractEditAction.class.php:1.1.2.1	Tue Jul  4 18:48:34 2006
+++ xoops2jp/html/modules/pm/class/AbstractEditAction.class.php	Thu Jul 27 18:40:56 2006
@@ -1,7 +1,7 @@
 <?php
 /**
- * @package Pm
- * @version $Id: AbstractEditAction.class.php,v 1.1.2.1 2006/07/04 09:48:34 minahito Exp $
+ * @package pm
+ * @version $Id: AbstractEditAction.class.php,v 1.1.2.2 2006/07/27 09:40:56 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -62,7 +62,11 @@
 	function execute(&$controller, &$xoopsUser)
 	{
 		if ($this->mObject == null) {
-			return PM2_FRAME_VIEW_ERROR;
+			return PM_FRAME_VIEW_ERROR;
+		}
+		
+		if (isset($_REQUEST['_form_control_cancel'])) {
+			return PM_FRAME_VIEW_CANCEL;
 		}
 	
 		$this->mActionForm->load($this->mObject);


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