Better use of reopen method
This commit is contained in:
parent
9d0fe3c1da
commit
d09af2b18e
@ -1603,7 +1603,7 @@ class Propal extends CommonObject
|
|||||||
$error=0;
|
$error=0;
|
||||||
|
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."propal";
|
$sql = "UPDATE ".MAIN_DB_PREFIX."propal";
|
||||||
$sql.= " SET fk_statut = ".$statut.",";
|
$sql.= " SET fk_statut = ".$this->statut.",";
|
||||||
if (! empty ( $note )) {
|
if (! empty ( $note )) {
|
||||||
$sql .= " note_private = '" . $this->db->escape ( $note ) . "',";
|
$sql .= " note_private = '" . $this->db->escape ( $note ) . "',";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user