[xoops-cvslog 3355] CVS update: xoops2jp/html/kernel

Back to archive index

Minahito minah****@users*****
2006年 6月 23日 (金) 10:27:49 JST


Index: xoops2jp/html/kernel/XCube_Delegate.class.php
diff -u xoops2jp/html/kernel/XCube_Delegate.class.php:1.1.2.1 xoops2jp/html/kernel/XCube_Delegate.class.php:1.1.2.2
--- xoops2jp/html/kernel/XCube_Delegate.class.php:1.1.2.1	Thu Jun 22 14:31:41 2006
+++ xoops2jp/html/kernel/XCube_Delegate.class.php	Fri Jun 23 10:27:49 2006
@@ -188,7 +188,12 @@
 			$param[] = '$args[' . $i . ']';
 		}
 		
-		$argstr = "(" . join($param, ",") . ");";
+		if (count($param) > 0) {
+			$argstr = "(" . join($param, ",") . ");";
+		}
+		else {
+			$argstr = "()";
+		}
 
 		//
 		// We have to use eval in the case of an instance method because 


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