Merge pull request #6067 from atm-arnaud/FIX_propal_updateline_oldcopy_extrafields

Fix propal updateline oldcopy extrafields
This commit is contained in:
Laurent Destailleur
2016-12-01 21:50:09 +01:00
committed by GitHub

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;