[xoops-cvslog 1561] CVS update: xoops2jp/html/class

Back to archive index

Minahito minah****@users*****
2006年 1月 2日 (月) 21:41:35 JST


Index: xoops2jp/html/class/template.php
diff -u xoops2jp/html/class/template.php:1.2.8.2 xoops2jp/html/class/template.php:1.2.8.3
--- xoops2jp/html/class/template.php:1.2.8.2	Sun Oct 23 19:22:55 2005
+++ xoops2jp/html/class/template.php	Mon Jan  2 21:41:35 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: template.php,v 1.2.8.2 2005/10/23 10:22:55 minahito Exp $
+// $Id: template.php,v 1.2.8.3 2006/01/02 12:41:35 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -192,7 +192,8 @@
 	
 	function &fetchBlock($template,$bid)
 	{
-		return $this->fetch('db:'.$template,$bid);
+		$ret = $this->fetch('db:'.$template,$bid);
+        return $ret;
 	}
 	
 	function isBlockCached($template,$bid)
Index: xoops2jp/html/class/XCube_Service.class.php
diff -u xoops2jp/html/class/XCube_Service.class.php:1.1.2.2 xoops2jp/html/class/XCube_Service.class.php:1.1.2.3
--- xoops2jp/html/class/XCube_Service.class.php:1.1.2.2	Mon Nov  7 19:50:31 2005
+++ xoops2jp/html/class/XCube_Service.class.php	Mon Jan  2 21:41:35 2006
@@ -57,7 +57,8 @@
 		
 		$methodName="do".ucfirst($operation);
 		if(method_exists($this->mService,$methodName)) {
-			return call_user_func(array($this->mService,$methodName),$parameters);
+			$ret = call_user_func(array($this->mService,$methodName),$parameters);
+			return $ret;
 		}
 		else {
 			$this->mClientErrorStr="operation $operation not present.";
Index: xoops2jp/html/class/module.textsanitizer.php
diff -u xoops2jp/html/class/module.textsanitizer.php:1.2.8.2 xoops2jp/html/class/module.textsanitizer.php:1.2.8.3
--- xoops2jp/html/class/module.textsanitizer.php:1.2.8.2	Fri Dec 30 17:20:10 2005
+++ xoops2jp/html/class/module.textsanitizer.php	Mon Jan  2 21:41:35 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: module.textsanitizer.php,v 1.2.8.2 2005/12/30 08:20:10 minahito Exp $
+// $Id: module.textsanitizer.php,v 1.2.8.3 2006/01/02 12:41:35 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -286,7 +286,8 @@
     function &htmlSpecialChars($text)
     {
         //return preg_replace("/&amp;/i", '&', htmlspecialchars($text, ENT_QUOTES));
-        return preg_replace(array("/&amp;/i", "/&nbsp;/i"), array('&', '&amp;nbsp;'), htmlspecialchars($text, ENT_QUOTES));
+        $ret = preg_replace(array("/&amp;/i", "/&nbsp;/i"), array('&', '&amp;nbsp;'), htmlspecialchars($text, ENT_QUOTES));
+		return $ret;
     }
 
     /**


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