Fix propal updateline oldcopy extrafields

This commit is contained in:
arnaud 2016-11-30 16:48:27 +01:00
parent e846d74654
commit c17d354367

View File

@ -651,6 +651,7 @@ class Propal extends CommonObject
//Fetch current line from the database and then clone the object and set it in $oldline property
$line = new PropaleLigne($this->db);
$line->fetch($rowid);
$line->fetch_optionals(); // Fetch extrafields for oldcopy
$staticline = clone $line;