소스 검색

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 = []