summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-02-09 00:23:18 +0000
committerGo MAEDA <maeda@farend.jp>2020-02-09 00:23:18 +0000
commit8cbb53c2ceb2c2bf25b33cdfa8f2d68044fe5873 (patch)
tree3c1528df41f9116c683aaeb4bdbf6a0d68011bd8 /app
parent9d18f67f9e93d5e2ac3940073358e7a547b90c29 (diff)
downloadredmine-8cbb53c2ceb2c2bf25b33cdfa8f2d68044fe5873.tar.gz
redmine-8cbb53c2ceb2c2bf25b33cdfa8f2d68044fe5873.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/helpers/timelog_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb
index 2c3e500a5..d10b57332 100644
--- a/app/helpers/timelog_helper.rb
+++ b/app/helpers/timelog_helper.rb
@@ -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)