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

Back to archive index

Minahito minah****@users*****
2006年 10月 23日 (月) 18:34:46 JST


Index: xoops2jp/html/modules/legacy/admin/actions/PreferenceEditAction.class.php
diff -u xoops2jp/html/modules/legacy/admin/actions/PreferenceEditAction.class.php:1.1.2.2 xoops2jp/html/modules/legacy/admin/actions/PreferenceEditAction.class.php:1.1.2.3
--- xoops2jp/html/modules/legacy/admin/actions/PreferenceEditAction.class.php:1.1.2.2	Sun Oct 15 00:56:19 2006
+++ xoops2jp/html/modules/legacy/admin/actions/PreferenceEditAction.class.php	Mon Oct 23 18:34:46 2006
@@ -239,8 +239,9 @@
 		$handler =& xoops_gethandler('module');
 		$this->_mMaster->mModule =& $handler->get(intval(xoops_getrequest('confmod_id')));
 
-		if (!is_object($this->_mMaster->mModule)) {
-			return;
+		if (!(is_object($this->_mMaster->mModule) && $this->_mMaster->mModule->get('isactive') && $this->_mMaster->mModule->get('hasconfig'))) {
+			// Exception
+			$controller->executeForward(XOOPS_URL . '/admin.php');
 		}
 
 		$this->_mMaster->mActionForm =& new Legacy_ModulePreferenceEditForm($this->_mMaster->mModule);


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