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

Back to archive index

Minahito minah****@users*****
2006年 9月 1日 (金) 12:12:03 JST


Index: xoops2jp/html/kernel/XCube_Service.class.php
diff -u xoops2jp/html/kernel/XCube_Service.class.php:1.1.2.1 xoops2jp/html/kernel/XCube_Service.class.php:1.1.2.2
--- xoops2jp/html/kernel/XCube_Service.class.php:1.1.2.1	Wed Aug 30 19:05:51 2006
+++ xoops2jp/html/kernel/XCube_Service.class.php	Fri Sep  1 12:12:02 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package XCube
- * @version $Id: XCube_Service.class.php,v 1.1.2.1 2006/08/30 10:05:51 minahito Exp $
+ * @version $Id: XCube_Service.class.php,v 1.1.2.2 2006/09/01 03:12:02 minahito Exp $
  */
 
 /**
@@ -17,8 +17,10 @@
 		$func_paramArr = explode(',', substr($definition, $pos + 1, -1));
 		$params = array();
 		foreach ($func_paramArr as $t_param) {
-			$t_str = explode(' ', trim($t_param));
-			$params[trim($t_str[1])] = trim($t_str[0]);
+			if (strlen($t_param) > 0) {
+				$t_str = explode(' ', trim($t_param));
+				$params[trim($t_str[1])] = trim($t_str[0]);
+			}
 		}
 		
 		$ret = array();


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