mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 06:37:32 +08:00
Skip null subjects for activities moving [SCI-6285] (#3686)
Co-authored-by: Anton <anton@scinote.net>
This commit is contained in:
parent
774ffa60d0
commit
881251fe14
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ module Experiments
|
|||
|
||||
child_associations.each do |child_association|
|
||||
[subject.public_send(child_association)].flatten.each do |child_subject|
|
||||
next unless child_subject
|
||||
move_activities!(child_subject)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue