| @@ 1726-1731 (lines=6) @@ | ||
| 1723 | $accessBefore = null; |
|
| 1724 | $accessAfter = null; |
|
| 1725 | ||
| 1726 | if (empty($sessionInfo['nb_days_access_before_beginning']) || |
|
| 1727 | (!empty($sessionInfo['nb_days_access_before_beginning']) && |
|
| 1728 | $sessionInfo['nb_days_access_before_beginning'] < $this->daysCoachAccessBeforeBeginning) |
|
| 1729 | ) { |
|
| 1730 | $accessBefore = $coachBefore; |
|
| 1731 | } |
|
| 1732 | ||
| 1733 | $accessAfter = null; |
|
| 1734 | if (empty($sessionInfo['nb_days_access_after_end']) || |
|
| @@ 4655-4660 (lines=6) @@ | ||
| 4652 | $params['show_description'] = isset($sessionInfo['show_description']) ? $sessionInfo['show_description'] : intval($showDescription); |
|
| 4653 | ||
| 4654 | if (!empty($daysCoachAccessBeforeBeginning) && !empty($daysCoachAccessAfterBeginning)) { |
|
| 4655 | if (empty($sessionInfo['nb_days_access_before_beginning']) || |
|
| 4656 | (!empty($sessionInfo['nb_days_access_before_beginning']) && |
|
| 4657 | $sessionInfo['nb_days_access_before_beginning'] < $daysCoachAccessBeforeBeginning) |
|
| 4658 | ) { |
|
| 4659 | $params['coach_access_start_date'] = $coachBefore; |
|
| 4660 | } |
|
| 4661 | ||
| 4662 | if (empty($sessionInfo['nb_days_access_after_end']) || |
|
| 4663 | (!empty($sessionInfo['nb_days_access_after_end']) && |
|