--- ../old/auth2db-0.2.5-2+dfsg/www/security.php	2008-07-30 22:39:36.000000000 +0000
+++ auth2db-0.2.5-2+dfsg/www/security.php	2009-03-30 09:18:57.000000000 +0000
@@ -15,12 +15,10 @@
 # [Agrega escape de caracteres especiales SQL -> \' ]        
 function sec_addESC($var) {
 
-    if (!get_magic_quotes_gpc()){
-	$var = addslashes($var);
-    }
-                    
+    $var = mysql_real_escape_string($var);
+ 
     return $var;
 
 }
 
-?>
\ No newline at end of file
+?>
