summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-02-24 04:44:36 +0000
committerGo MAEDA <maeda@farend.jp>2023-02-24 04:44:36 +0000
commitac3826ba21d91033e22ee91313b0d3f7b8da50cf (patch)
tree7a1e06edfe67eb14432f03569c8f5290a6d7e1a3 /app
parent712ec961748e130ff1f7d279cd7b350a3f460b7b (diff)
downloadredmine-ac3826ba21d91033e22ee91313b0d3f7b8da50cf.tar.gz
redmine-ac3826ba21d91033e22ee91313b0d3f7b8da50cf.zip
Merged r22112 from trunk to 5.0-stable (#38254).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22114 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/time_entry_import.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/time_entry_import.rb b/app/models/time_entry_import.rb
index f00b24f61..8e336083a 100644
--- a/app/models/time_entry_import.rb
+++ b/app/models/time_entry_import.rb
@@ -85,6 +85,7 @@ class TimeEntryImport < Import
def build_object(row, item)
object = TimeEntry.new
object.author = user
+ object.project = project
activity_id = nil
if activity