From 052d75321f878131f219a8ea1c130d4f07876fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Sat, 20 Apr 2013 06:32:33 +0200 Subject: [PATCH] Fixed user note with new update note API --- htdocs/user/note.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/user/note.php b/htdocs/user/note.php index 421d30cbc7a..5ccd23f3042 100644 --- a/htdocs/user/note.php +++ b/htdocs/user/note.php @@ -58,7 +58,7 @@ if ($action == 'update' && $user->rights->user->user->creer && ! $_POST["cancel" { $db->begin(); - $res=$fuser->update_note($_POST["note"],$user); + $res=$fuser->update_note(dol_html_entity_decode(GETPOST('note'), ENT_QUOTES)); if ($res < 0) { $mesg='
'.$adh->error.'
';