Bug in Supplier Credit Note Edit, Fixed.
[fa-stable.git] / purchasing / includes / supp_trans_class.inc
index be9ec00d3760477bee42b9102f76ee2a4248f935..96959ecd282e93382d1e3f30c8e004521094e46b 100644 (file)
@@ -66,7 +66,7 @@ class supp_trans
                        read_supp_invoice($trans_no, $trans_type, $this);
                        if ($trans_type == ST_SUPPCREDIT)
                        {
-                               $this->src_docs = find_src_invoices($trans_no);
+                $this->src_docs = find_src_invoices($this);
                        }
                        read_supplier_details_to_trans($this, $this->supplier_id);
                }