Fix that selected user on timelog#edit is incorrect (#32959).

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19501 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2020-02-09 00:23:18 +00:00
parent 9d18f67f9e
commit 8cbb53c2ce
2 changed files with 16 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ module TimelogHelper
def user_collection_for_select_options(time_entry)
collection = time_entry.assignable_users
principals_options_for_select(collection, time_entry.user_id)
principals_options_for_select(collection, time_entry.user_id.to_s)
end
def select_hours(data, criteria, value)