]> source.dussan.org Git - redmine.git/commitdiff
Reverts r20653.
authorGo MAEDA <maeda@farend.jp>
Thu, 18 Mar 2021 00:59:01 +0000 (00:59 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 18 Mar 2021 00:59:01 +0000 (00:59 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20815 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/project.rb

index a3db05f94b406ef4415438160f73abaed700d6b0..aef28744b3de0c3745bdbd5285be10fdc4cf674d 100644 (file)
@@ -318,8 +318,8 @@ class Project < ActiveRecord::Base
   def commit_logtime_activity
     activity_id = Setting.commit_logtime_activity_id.to_i
     if activity_id > 0
-      activities.
-        find_by('id = ? OR parent_id = ?', activity_id, activity_id)
+      activities
+        .find_by('id = ? OR parent_id = ?', activity_id, activity_id)
     end
   end