Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/lib/tasks/program.rake b/lib/tasks/program.rake
- index 61b1aa993..6d5a85108 100644
- --- a/lib/tasks/program.rake
- +++ b/lib/tasks/program.rake
- @@ -23,7 +23,7 @@ namespace :program do
- when !ENV['EVENT_NAME'].nil?
- Event.find_by_name(ENV['EVENT_NAME'])
- when !ENV['EVENT_CODE'].nil?
- - Event.find_by_code(ENV['EVENT_CODE'])
- + Event.find_by_code(ENV['EVENT_CODE']) || Event.find_by_secondary_code(ENV['EVENT_CODE'])
- end
- (1..num_users).each do |user_num|
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement