[geeklog-cvs] geeklog: Suppress htmlspecialchars() warning for unsupported cha...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat May 28 11:26:51 EDT 2011


changeset 8287:c57eab83416f
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/c57eab83416f
user: Dirk Haun <dirk at haun-online.de>
date: Sat May 28 17:25:06 2011 +0200
description:
Suppress htmlspecialchars() warning for unsupported character sets

diffstat:

 plugins/xmlsitemap/xmlsitemap.class.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r df741e92785e -r c57eab83416f plugins/xmlsitemap/xmlsitemap.class.php
--- a/plugins/xmlsitemap/xmlsitemap.class.php	Sat May 28 17:24:21 2011 +0200
+++ b/plugins/xmlsitemap/xmlsitemap.class.php	Sat May 28 17:25:06 2011 +0200
@@ -305,7 +305,7 @@
             $url
         );
 
-        return htmlspecialchars($url, ENT_QUOTES, $encoding);
+        return @htmlspecialchars($url, ENT_QUOTES, $encoding);
     }
 
     /**



More information about the geeklog-cvs mailing list