From 37f3f951149382caf374484f4ef8bb202242de28 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Mon, 4 May 2009 10:02:23 +0200 Subject: [PATCH] user_time was removed in 1.8devel, so change it to current_user.time --- app/views/recurring_todos/_recurring_todo_form.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/recurring_todos/_recurring_todo_form.erb b/app/views/recurring_todos/_recurring_todo_form.erb index 7217cc35..5a5f0fa7 100644 --- a/app/views/recurring_todos/_recurring_todo_form.erb +++ b/app/views/recurring_todos/_recurring_todo_form.erb @@ -85,7 +85,7 @@

<%= - text_field(:recurring_todo, :start_from, "value" => format_date(user_time), "size" => 12, "class" => "Date", "onfocus" => "Calendar.setup", "tabindex" => 6, "autocomplete" => "off") %>
+ text_field(:recurring_todo, :start_from, "value" => format_date(current_user.time), "size" => 12, "class" => "Date", "onfocus" => "Calendar.setup", "tabindex" => 6, "autocomplete" => "off") %>


<%= radio_button_tag('recurring_todo[ends_on]', 'no_end_date', true)%> No end date