Bug 5695: Purchase Order Item Description should be saved on the PO line description...
[fa-stable.git] / purchasing / includes / po_class.inc
index c24119d2b9d26bd226e7c149a83a468cfbfb4db5..51f40a8c775b8bb73792b14b50b9a10f0de626f7 100644 (file)
@@ -228,7 +228,8 @@ class po_line_details
                        return;
 
                $this->descr_editable = $item_row["editable"];
-               if ($item_descr == null || !$this->descr_editable)
+               //if ($item_descr == null || !$this->descr_editable) this was overriding the prchase description!!
+               if ($item_descr == null)
                        $this->item_description = $item_row["description"];
                else
                        $this->item_description = $item_descr;