Fix: Regression

This commit is contained in:
Laurent Destailleur 2013-04-10 00:08:55 +02:00
parent af6f075b5c
commit e79d0f50d0

View File

@ -1420,7 +1420,7 @@ abstract class CommonObject
dol_syslog(get_class($this)."::update_note_private sql=".$sql, LOG_DEBUG); dol_syslog(get_class($this)."::update_note_private sql=".$sql, LOG_DEBUG);
if ($this->db->query($sql)) if ($this->db->query($sql))
{ {
$this->note_private = $note; $this->note_private = $note_private;
return 1; return 1;
} }
else else