mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update customer.rb
This commit is contained in:
@@ -109,8 +109,10 @@ class Customer < ActiveRecord::Base
|
|||||||
def get_details
|
def get_details
|
||||||
Thread.new {
|
Thread.new {
|
||||||
if self.id
|
if self.id
|
||||||
|
mutex.synchronize do
|
||||||
@details = get_customer(self.id)
|
@details = get_customer(self.id)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user