Update qbo_invoice.rb

This commit is contained in:
2016-09-19 11:07:33 -04:00
committed by GitHub
parent 21d72dcc33
commit a7a5e2c731

View File

@@ -68,7 +68,7 @@ class QboInvoice < ActiveRecord::Base
is_changed = false
# Check the private notes
if notinvoice.private_note.nil?
if not invoice.private_note.nil?
invoice.private_note.scan(/#(\w+)/).flatten.each { |issue|
attach_to_issue(Issue.find_by_id(issue.to_i), invoice)
}