Browse Source

Fixed error with no charts

Andrew Kane 9 years ago
parent
commit
9475bbbe51
1 changed files with 1 additions and 0 deletions
  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 = []