Commit 5b525e44ef709b9ad65e6693c6e805025d77e758
1 parent
291eac73
Exists in
master
and in
1 other branch
Fix for blank line numbers - use .blank? [ci skip]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/notices_helper.rb
... | ... | @@ -5,7 +5,7 @@ module NoticesHelper |
5 | 5 | end |
6 | 6 | |
7 | 7 | def line_number_with_link(app, line) |
8 | - return " ".html_safe unless line['number'] | |
8 | + return " ".html_safe if line['number'].blank? | |
9 | 9 | if Notice.in_app_backtrace_line?(line) |
10 | 10 | return link_to_github(app, line, line['number']) if app.github_url? |
11 | 11 | if app.issue_tracker && app.issue_tracker.respond_to?(:url_to_file) | ... | ... |