X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/95b919c5d1e33688b0841c7d38602372c2e4c4a3..f946797520d5420804a730657dab99c504cae693:/app/helpers/user_blocks_helper.rb diff --git a/app/helpers/user_blocks_helper.rb b/app/helpers/user_blocks_helper.rb index c7c12f6d1..75bd4a46d 100644 --- a/app/helpers/user_blocks_helper.rb +++ b/app/helpers/user_blocks_helper.rb @@ -34,7 +34,7 @@ module UserBlocksHelper end else if block.revoker_id.nil? - if block.updated_at > block.ends_at + if block.deactivates_at > block.ends_at t("user_blocks.helper.short.read_html", :time => block_short_time_in_past(block.updated_at)) else t("user_blocks.helper.short.ended")