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

Back to archive index

Minahito minah****@users*****
2006年 10月 14日 (土) 13:51:57 JST


Index: xoops2jp/html/class/module.textsanitizer.php
diff -u xoops2jp/html/class/module.textsanitizer.php:1.2.8.9 xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.1
--- xoops2jp/html/class/module.textsanitizer.php:1.2.8.9	Mon Sep 25 00:19:42 2006
+++ xoops2jp/html/class/module.textsanitizer.php	Sat Oct 14 13:51:56 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: module.textsanitizer.php,v 1.2.8.9 2006/09/24 15:19:42 nobunobu Exp $
+// $Id: module.textsanitizer.php,v 1.2.8.9.2.1 2006/10/14 04:51:56 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -364,10 +364,12 @@
      *
      * @param   string  $text
      * @return  string
+     * @deprecated
      **/
     function &undoHtmlSpecialChars(&$text)
     {
-        return preg_replace(array("/&gt;/i", "/&lt;/i", "/&quot;/i", "/&#039;/i"), array(">", "<", "\"", "'"), $text);
+        $ret = preg_replace(array("/&gt;/i", "/&lt;/i", "/&quot;/i", "/&#039;/i"), array(">", "<", "\"", "'"), $text);
+		return $ret;
     }
 
     /**


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