lib/arii/sqldetector.rb in arii-1.0.8 vs lib/arii/sqldetector.rb in arii-1.1

- old
+ new

@@ -30,13 +30,12 @@ unless @cache[:templates].nil? then @cache[:templates].each do |t| @templates.push t end end - # The actual processing # - if @cache[:status] == 100 then + if @cache[:cache][:status] == 100 then ARII::Config.log.info(self.class.name) {"Not on cache, generating payload"} # add row data to payload from selectors (key => key, value => column name) payload = Hash.new object[:selectors].each do |selector| selector.each do |k,v|