From 2d40a900768a7c962dc67a8b8bdc332f65fa110b Mon Sep 17 00:00:00 2001 From: Lukasz Rekucki Date: Fri, 21 Aug 2009 09:55:10 +0200 Subject: [PATCH 1/1] =?utf8?q?Powinno=20dzia=C5=82a=C4=87=20nawet=20przy?= =?utf8?q?=20braku=20ustawie=C5=84.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../app/views/settings/_publications_settings.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb b/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb index 626e5c62..0465535a 100644 --- a/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb +++ b/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb @@ -1,4 +1,4 @@ -<% @tracker = Tracker.find(@settings['tracker']) %> +<% @tracker = Tracker.find(@settings[:tracker] || 1) %>

@@ -8,6 +8,6 @@

- <%= text_field_tag 'settings[pattern]', @settings['pattern'] %> + <%= text_field_tag 'settings[pattern]', @settings[:pattern] || '' %>

-- 2.20.1