Fix bug.
This commit is contained in:
parent
bd8f88afa3
commit
1a9da6eec0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue