Commit 74191451c7da170f9abb18dc7b342d8ceb9865d4

Authored by Nathan Broadbent
1 parent 45c1e148
Exists in master and in 1 other branch production

Fixed user_attributes condition when no @notice

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/errs/show.html.haml
... ... @@ -50,7 +50,7 @@
50 50 %ul
51 51 %li= link_to 'Summary', '#summary', :rel => 'summary', :class => 'button'
52 52 %li= link_to 'Backtrace', '#backtrace', :rel => 'backtrace', :class => 'button'
53   - - if @notice.user_attributes.present?
  53 + - if @notice && @notice.user_attributes.present?
54 54 %li= link_to 'User Details', '#user_attributes', :rel => 'user_attributes', :class => 'button'
55 55 %li= link_to 'Environment', '#environment', :rel => 'environment', :class => 'button'
56 56 %li= link_to 'Parameters', '#params', :rel => 'params', :class => 'button'
... ...