X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0e81def27bfaa36288143d1ff4c325164d4d2f10..94ebe35e591f338c0a6a6ad3a63deed6e4f4fc11:/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb 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] || '' %>