From 3acada409a9521885b4b3b553087747a15ae8dc3 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 25 Feb 2008 18:55:25 +0000 Subject: [PATCH] Get the user image right this time... --- app/views/diary_entry/list.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/diary_entry/list.rhtml b/app/views/diary_entry/list.rhtml index 4fd5e7bc2..b54807578 100644 --- a/app/views/diary_entry/list.rhtml +++ b/app/views/diary_entry/list.rhtml @@ -1,7 +1,7 @@

<%= @title %>

-<% if @user.image %> - <%= image_tag url_for_file_column(@user, "image") %> +<% if @this_user && @this_user.image %> + <%= image_tag url_for_file_column(@this_user, "image") %> <% end %>
-- 2.43.2