Season delete

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3444 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-08-15 08:17:14 +00:00
parent 73ed632267
commit 7767199a69

View file

@ -780,7 +780,7 @@ class LodgingCalendarService
$checkDay = $paddedCalendar[$mSdt->format("Y-n")]['data'][$key];
if($minDays != $checkDay->getPrice()->getSeason()->getMinimumStay()){
if($checkDay->getPrice()->getSeason() && $minDays != $checkDay->getPrice()->getSeason()->getMinimumStay()){
if($minDays > $checkDay->getPrice()->getSeason()->getMinimumStay()){
$last = $counter+$checkDay->getPrice()->getSeason()->getMinimumStay();