[geeklog-hg] geeklog: Modified the COM_undoSpecialChars function for supports...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Tue Sep 10 11:26:01 EDT 2013


changeset 9288:b66d7e3ff622
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/b66d7e3ff622
user: dengen <taharaxp at gmail.com>
date: Wed Sep 11 00:25:52 2013 +0900
description:
Modified the COM_undoSpecialChars function for supports single quote.

diffstat:

 public_html/lib-common.php |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r b6b58ef60fa4 -r b66d7e3ff622 public_html/lib-common.php
--- a/public_html/lib-common.php	Sat Sep 07 22:31:50 2013 -0400
+++ b/public_html/lib-common.php	Wed Sep 11 00:25:52 2013 +0900
@@ -3952,6 +3952,7 @@
 */
 function COM_undoSpecialChars( $string )
 {
+    $string = str_replace( ''', "'", $string );
     $string = str_replace( '$',  '$', $string );
     $string = str_replace( '{', '{', $string );
     $string = str_replace( '}', '}', $string );



More information about the geeklog-cvs mailing list