Fixed user note with new update note API
This commit is contained in:
parent
e1a3d46ea0
commit
052d75321f
@ -58,7 +58,7 @@ if ($action == 'update' && $user->rights->user->user->creer && ! $_POST["cancel"
|
|||||||
{
|
{
|
||||||
$db->begin();
|
$db->begin();
|
||||||
|
|
||||||
$res=$fuser->update_note($_POST["note"],$user);
|
$res=$fuser->update_note(dol_html_entity_decode(GETPOST('note'), ENT_QUOTES));
|
||||||
if ($res < 0)
|
if ($res < 0)
|
||||||
{
|
{
|
||||||
$mesg='<div class="error">'.$adh->error.'</div>';
|
$mesg='<div class="error">'.$adh->error.'</div>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user