From a654081664435548d1eb6b72f017ce1d1090d750 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 3 Jun 2020 20:42:10 +0800 Subject: [PATCH] fix error --- app/models/property.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/property.rb b/app/models/property.rb index e6a684c..534d106 100644 --- a/app/models/property.rb +++ b/app/models/property.rb @@ -146,7 +146,7 @@ class Property end stime_tp = stime_tp + d_step etime_tp = etime_tp + d_step - break if recurring_end_date.nil? || recurring_end_date < stime_tp + break if recurring_end_date.blank? || recurring_end_date < stime_tp end break if available == false end