1
This commit is contained in:
parent
6bbd7f18d0
commit
8249ef89c6
@ -360,7 +360,7 @@ class OtherController extends BaseAuthedController {
|
|||||||
$nowTimeOffset = myself()->_getDaySecondsOffset(myself()->_getNowTime());
|
$nowTimeOffset = myself()->_getDaySecondsOffset(myself()->_getNowTime());
|
||||||
$temp['daily_open_time_2'] = strtotime($modeMeta['daily_open_time_2']) ;
|
$temp['daily_open_time_2'] = strtotime($modeMeta['daily_open_time_2']) ;
|
||||||
$temp['daily_end_time_2'] = strtotime($modeMeta['daily_end_time_2']);
|
$temp['daily_end_time_2'] = strtotime($modeMeta['daily_end_time_2']);
|
||||||
$temp['state2'] = $nowTimeOffset >= $dailyOpenTimeOffset && $nowTimeOffset <= $dailyEndTimeOffset ? 1 : 0;
|
$temp['state'] = $nowTimeOffset >= $dailyOpenTimeOffset && $nowTimeOffset <= $dailyEndTimeOffset ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$isOpen = mt\MapMode::isOpen($modeMeta);
|
$isOpen = mt\MapMode::isOpen($modeMeta);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user