# HG changeset patch # User viric@llimona # Date 1160731737 -7200 # Node ID 43323a4bccdd925db4b3935185939f41fff0be5c # Parent 974edda953a65eaeb3574f95d453e445c344861c# Parent e152a6b585e5faf546defaff01f6a2701ffd9c60 Merged two branches stupidly created. diff -r 974edda953a6 -r 43323a4bccdd getdb.inc --- a/getdb.inc Wed Oct 04 23:24:21 2006 +0200 +++ b/getdb.inc Fri Oct 13 11:28:57 2006 +0200 @@ -194,7 +194,9 @@ function strtosql($cadena) { - return ereg_replace("'", "'", $cadena); + /* (viric) I don't know why, but it doesn't require any + transformation from ' to \'. */ + return $cadena; } function strtohtml($cadena)