Skip to content
Snippets Groups Projects
Commit 0d46341d authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #1491 str_replace sur ; et --

parent f3b6b050
No related branches found
No related tags found
No related merge requests found
......@@ -924,6 +924,10 @@ class functions
} else if(($databasetype == "POSTGRESQL") && !get_magic_quotes_runtime()) {
$string = pg_escape_string($string);
}
$string=str_replace(';', ' ', $string);
$string=str_replace('--', '-', $string);
return $string;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment