Update qbo_invoice.rb

This commit is contained in:
2016-09-13 22:48:11 -04:00
committed by GitHub
parent e4d5770bdc
commit bbc3b138cf

View File

@@ -69,7 +69,7 @@ class QboInvoice < ActiveRecord::Base
# Attach the invoice to the issue
unless i.qbo_invoices.include?(qbo_invoice)
i.qbo_invoices << qbo_invoice
i.qbo_invoices << qbo_invoice.id
i.qbo_invoices.save!
end
rescue