From 1a9da6eec018bf176db72c980c712ab0cf0aba61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Tue, 14 May 2024 12:38:08 +0800 Subject: [PATCH] Fix bug. --- app/models/property.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/property.rb b/app/models/property.rb index 4ff42f4..c397c11 100644 --- a/app/models/property.rb +++ b/app/models/property.rb @@ -593,6 +593,7 @@ class Property property end def fix_uploader(clone_relation, r, f) + return r.send(f).blank? if !@clone_mode || (clone_relation[f].blank? && clone_relation.send(f).blank?) clone_relation[f] = r[f] if @clone_mode