Преглед на файлове

Fixed error with no charts

Andrew Kane преди 9 години
родител
ревизия
9475bbbe51
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      app/controllers/blazer/dashboards_controller.rb

+ 1 - 0
app/controllers/blazer/dashboards_controller.rb

@@ -25,6 +25,7 @@ module Blazer
       @queries.each do |query|
         process_vars(query.statement)
       end
+      @bind_vars ||= []
 
       @smart_vars = {}
       @sql_errors = []