Skip to content

Commit

Permalink
Merge pull request #150 from cengiz7/uninitialized-class-variable
Browse files Browse the repository at this point in the history
fix uninitialized csv_user_attributes class variable
  • Loading branch information
iffyuva authored May 29, 2024
2 parents 25e8149 + 3991ad1 commit 64bbfd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/rapidfire/survey.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def self.csv_user_attributes=(attributes)
end

def self.csv_user_attributes
@@csv_user_attributes || []
@@csv_user_attributes ||= []
end

def results_to_csv(filter)
Expand Down

0 comments on commit 64bbfd5

Please sign in to comment.