@@ 4558-4563 (lines=6) @@ | ||
4555 | $params['show_description'] = isset($sessionInfo['show_description']) ? $sessionInfo['show_description'] : intval($showDescription); |
|
4556 | ||
4557 | if (!empty($daysCoachAccessBeforeBeginning) && !empty($daysCoachAccessAfterBeginning)) { |
|
4558 | if (empty($sessionInfo['nb_days_access_before_beginning']) || |
|
4559 | (!empty($sessionInfo['nb_days_access_before_beginning']) && |
|
4560 | $sessionInfo['nb_days_access_before_beginning'] < $daysCoachAccessBeforeBeginning) |
|
4561 | ) { |
|
4562 | $params['coach_access_start_date'] = $coachBefore; |
|
4563 | } |
|
4564 | ||
4565 | if (empty($sessionInfo['nb_days_access_after_end']) || |
|
4566 | (!empty($sessionInfo['nb_days_access_after_end']) && |
@@ 1685-1690 (lines=6) @@ | ||
1682 | $accessBefore = null; |
|
1683 | $accessAfter = null; |
|
1684 | ||
1685 | if (empty($sessionInfo['nb_days_access_before_beginning']) || |
|
1686 | (!empty($sessionInfo['nb_days_access_before_beginning']) && |
|
1687 | $sessionInfo['nb_days_access_before_beginning'] < $this->daysCoachAccessBeforeBeginning) |
|
1688 | ) { |
|
1689 | $accessBefore = $coachBefore; |
|
1690 | } |
|
1691 | ||
1692 | $accessAfter = null; |
|
1693 | if (empty($sessionInfo['nb_days_access_after_end']) || |