From a35356cfc3dbc8a696af18b38cf475233b945397 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Fri, 5 Aug 2011 17:32:50 -0700 Subject: [PATCH] DG Fix 500 in person page when incoming_request is undefined --- app/views/people/_sub_header.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/people/_sub_header.html.haml b/app/views/people/_sub_header.html.haml index 0037b832c..4d376461f 100644 --- a/app/views/people/_sub_header.html.haml +++ b/app/views/people/_sub_header.html.haml @@ -11,7 +11,7 @@ = person.diaspora_handle .description - - if !person.profile.tag_string.blank? && user_signed_in? && (contact.persisted? || person == current_user.person || incoming_request) + - if !person.profile.tag_string.blank? && user_signed_in? && (contact.persisted? || person == current_user.person || @incoming_request) = Diaspora::Taggable.format_tags(person.profile.tag_string) - if user_signed_in? && person == current_user.person %span.hover_edit