Minahito
minah****@users*****
2007年 2月 21日 (水) 15:10:22 JST
Index: xoops2jp/html/modules/legacy/actions/SearchResultsAction.class.php diff -u xoops2jp/html/modules/legacy/actions/SearchResultsAction.class.php:1.1.2.3 xoops2jp/html/modules/legacy/actions/SearchResultsAction.class.php:1.1.2.3.2.1 --- xoops2jp/html/modules/legacy/actions/SearchResultsAction.class.php:1.1.2.3 Sat Nov 18 23:10:59 2006 +++ xoops2jp/html/modules/legacy/actions/SearchResultsAction.class.php Wed Feb 21 15:10:22 2007 @@ -49,6 +49,14 @@ function getDefaultView(&$controller, &$xoopsUser) { + $root =& $controller->mRoot; + $service =& $root->mServiceManager->getService("LegacySearch"); + + if (is_object($service)) { + $client =& $root->mServiceManager->createClient($service); + $this->mModules = $client->call('getActiveModules', array()); + } + $this->mActionForm->fetch(); $this->mActionForm->validate(); @@ -59,13 +67,7 @@ // // TODO ErrorHandling // - $root =& $controller->mRoot; - $service =& $root->mServiceManager->getService("LegacySearch"); if (is_object($service)) { - $client =& $root->mServiceManager->createClient($service); - - $this->mModules = $client->call('getActiveModules', array()); - $this->mActionForm->update($params); $handler =& xoops_gethandler('module');