Skip to content
Snippets Groups Projects
Commit 282955c2 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: problème avec les apostrophes dans les notes du client - merci Zimba

parent 27dbbbb7
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ $langs->load("companies");
if ($_POST["action"] == 'add') {
$sql = "UPDATE ".MAIN_DB_PREFIX."societe SET note='".$_POST["note"]."' WHERE idp=".$_POST["socid"];
$sql = "UPDATE ".MAIN_DB_PREFIX."societe SET note='".addslashes($_POST["note"])."' WHERE idp=".$_POST["socid"];
$result = $db->query($sql);
$_GET["socid"]=$_POST["socid"]; // Pour retour sur fiche
......
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