Forgotten update_note parameter

Fixes project cloning
This commit is contained in:
Raphaël Doursenaud 2013-04-20 05:53:18 +02:00
parent d28316f4a8
commit e3610dfa49

View File

@ -1048,7 +1048,7 @@ class Project extends CommonObject
} }
$this->db->begin(); $this->db->begin();
$res=$clone_project->update_note(dol_html_entity_decode($clone_project->note_private, ENT_QUOTES)); $res=$clone_project->update_note(dol_html_entity_decode($clone_project->note_private, ENT_QUOTES), '_private');
if ($res < 0) if ($res < 0)
{ {
$this->error.=$clone_project->error; $this->error.=$clone_project->error;