From bf8443648220b8a5ab1bfc46777047724a5f3625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Sat, 20 Apr 2013 06:05:27 +0200 Subject: [PATCH] Fixed typo and used new API for note update --- htdocs/commande/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 2a501f10f73..d57418d1600 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -541,7 +541,7 @@ else if ($action == 'setnote_public' && $user->rights->commande->creer) else if ($action == 'setnote_private' && $user->rights->commande->creer) { - $result=$object->update_note_rivate(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES)); + $result=$object->update_note(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES), '_private'); if ($result < 0) dol_print_error($db,$object->error); }