Corregit el bug de l'apòstrof als formularis. 1.1
authorviric@llimona
Thu, 11 May 2006 00:02:44 +0200
changeset 3 2018e982200d
parent 0 e269d7e3f581
child 4 a8cf3dcdf9e6
Corregit el bug de l'apòstrof als formularis.
getdb.inc
--- a/getdb.inc	Sat May 06 00:50:37 2006 +0200
+++ b/getdb.inc	Thu May 11 00:02:44 2006 +0200
@@ -194,7 +194,7 @@
 
 	function strtosql($cadena)
 	{
-		return ereg_replace("\'", "\'", $cadena);
+		return ereg_replace("'", "'", $cadena);
 	}
 
 	function strtohtml($cadena)