Merged changes form stable branch up to 2.3.13
[fa-stable.git] / sales / includes / cart_class.inc
index 501ab6a93120346b69ec13acf685719d6b8f9668..3adf6c930a3b32675248834b78494b0f20edd360 100644 (file)
@@ -266,6 +266,8 @@ class cart
                        $ref = $this->reference;
                        $date = $this->document_date;
                        $due_date = $this->due_date;
+                       $dimension_id = $this->dimension_id;
+                       $dimension2_id = $this->dimension2_id;
                        $this->trans_type = get_parent_type($this->trans_type);
 
                        $this->reference = 'auto'; 
@@ -276,6 +278,8 @@ class cart
                        $this->document_date = $date;
                        $this->reference = $ref;
                        $this->due_date = $due_date;
+                       $this->dimension_id = $dimension_id;
+                       $this->dimension2_id = $dimension2_id;
                }
                $this->reference = @html_entity_decode($this->reference, ENT_QUOTES);
                $this->Comments = @html_entity_decode($this->Comments, ENT_QUOTES);