This commit is contained in:
邱博亞 2024-05-14 12:38:08 +08:00
parent bd8f88afa3
commit 1a9da6eec0
1 changed files with 1 additions and 0 deletions

View File

@ -593,6 +593,7 @@ class Property
property property
end end
def fix_uploader(clone_relation, r, f) def fix_uploader(clone_relation, r, f)
return r.send(f).blank?
if !@clone_mode || (clone_relation[f].blank? && clone_relation.send(f).blank?) if !@clone_mode || (clone_relation[f].blank? && clone_relation.send(f).blank?)
clone_relation[f] = r[f] clone_relation[f] = r[f]
if @clone_mode if @clone_mode