Fixed: no implicit conversion of nil into Array

This commit is contained in:
Vokhmin Alexey V 2014-01-29 19:24:49 +04:00
parent 6a16b7aee3
commit ef780e1619
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ module AbfWorker
end
def update_results
results = (subject.results || []) + options['results']
results = (subject.results || []) + (options['results'] || [])
sort_results_and_save results
end