diff options
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb index 56a6adbb316..9c5b1cfcfc2 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb @@ -428,7 +428,7 @@ class ResourceController < ApplicationController if @period && @snapshot.period_datetime(@period) @filtered=true to=Java::JavaUtil::Date.new(@snapshot.period_datetime(@period).to_f * 1000) - if to + if to && @lines @lines.each do |line| line.flag_as_hidden() if !line.after(to) end |