[xoops-cvslog 2699] CVS update: xoops2jp/html/modules/base/class

Back to archive index

Minahito minah****@users*****
2006年 4月 10日 (月) 19:10:56 JST


Index: xoops2jp/html/modules/base/class/Legacy_Validator.class.php
diff -u xoops2jp/html/modules/base/class/Legacy_Validator.class.php:1.1.2.2 xoops2jp/html/modules/base/class/Legacy_Validator.class.php:1.1.2.3
--- xoops2jp/html/modules/base/class/Legacy_Validator.class.php:1.1.2.2	Thu Mar 30 17:27:02 2006
+++ xoops2jp/html/modules/base/class/Legacy_Validator.class.php	Mon Apr 10 19:10:55 2006
@@ -15,7 +15,12 @@
 			$handleName = $vars['handler'];
 			$moduleName = isset($vars['module']) ? $vars['module'] : null;
 			
-			$handler =& xoops_getmodulehandler($handleName);
+			if ($moduleName == null) {
+				$handler =& xoops_gethandler($handleName);
+			}
+			else {
+				$handler =& xoops_getmodulehandler($handleName, $moduleName);
+			}
 			$obj =& $handler->get($form->getValue());
 			
 			return is_object($obj);


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