Forgotten update_note parameter
Fixes project cloning
This commit is contained in:
parent
d28316f4a8
commit
e3610dfa49
@ -1048,7 +1048,7 @@ class Project extends CommonObject
|
||||
}
|
||||
|
||||
$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)
|
||||
{
|
||||
$this->error.=$clone_project->error;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user