mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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();
|
||||
|
||||
$res=$fuser->update_note($_POST["note"],$user);
|
||||
$res=$fuser->update_note(dol_html_entity_decode(GETPOST('note'), ENT_QUOTES));
|
||||
if ($res < 0)
|
||||
{
|
||||
$mesg='<div class="error">'.$adh->error.'</div>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user