[xoops-cvslog 3219] CVS update: xoops2jp/html/modules/base/actions

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 5月 29日 (月) 13:52:12 JST


Index: xoops2jp/html/modules/base/actions/SearchResultsAction.class.php
diff -u xoops2jp/html/modules/base/actions/SearchResultsAction.class.php:1.1.2.2 xoops2jp/html/modules/base/actions/SearchResultsAction.class.php:1.1.2.3
--- xoops2jp/html/modules/base/actions/SearchResultsAction.class.php:1.1.2.2	Sun May 28 14:07:29 2006
+++ xoops2jp/html/modules/base/actions/SearchResultsAction.class.php	Mon May 29 13:52:12 2006
@@ -43,6 +43,8 @@
 		$this->mActionForm->fetch();
 		$this->mActionForm->validate();
 		
+		$this->_makeModuleList($xoopsUser);
+		
 		if ($this->mActionForm->hasError()) {
 			return LEGACY_FRAME_VIEW_INDEX;
 		}
@@ -65,7 +67,12 @@
 		else {
 			return LEGACY_FRAME_VIEW_ERROR;
 		}
-		
+
+		return LEGACY_FRAME_VIEW_INDEX;
+	}
+	
+	function _makeModuleList(&$xoopsUser)
+	{
 		//
 		// Make the module list for search form.
 		//
@@ -81,8 +88,6 @@
 			}
 			unset($module);
 		}
-
-		return LEGACY_FRAME_VIEW_INDEX;
 	}
 	
 	function execute(&$controller, &$xoopsUser)


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