Permalink
Browse files

removed possible refactoring bug

  • Loading branch information...
1 parent 4aca085 commit df17c8f5216fd67a48a281f981cb0e4e7f29fb35 @Femaref committed Mar 21, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/api-query-provider/base.rb
@@ -39,7 +39,11 @@ def self.data_selector= (value)
end
def self.autogenerate
- @autogenerate || false
+ if @autogenerate.nil?
+ false
+ else
+ @autogenerate
+ end
end
def self.autogenerate= (value)

0 comments on commit df17c8f

Please sign in to comment.