From aa75782766b5e965c80516221ed7db8914ebbfea Mon Sep 17 00:00:00 2001 From: sboursen-scinote Date: Fri, 31 Mar 2023 16:56:12 +0200 Subject: [PATCH] Fix hound [SCI-8227] --- app/models/protocol.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/protocol.rb b/app/models/protocol.rb index d9028033f..5e3fa855b 100644 --- a/app/models/protocol.rb +++ b/app/models/protocol.rb @@ -581,7 +581,7 @@ class Protocol < ApplicationRecord end def set_linked_at - linked_at = created_at + self.linked_at = created_at self.save! end