| @@ 1781-1786 (lines=6) @@ | ||
| 1778 | $accessBefore = null; |
|
| 1779 | $accessAfter = null; |
|
| 1780 | ||
| 1781 | if (empty($sessionInfo['nb_days_access_before_beginning']) || |
|
| 1782 | (!empty($sessionInfo['nb_days_access_before_beginning']) && |
|
| 1783 | $sessionInfo['nb_days_access_before_beginning'] < $this->daysCoachAccessBeforeBeginning) |
|
| 1784 | ) { |
|
| 1785 | $accessBefore = $coachBefore; |
|
| 1786 | } |
|
| 1787 | ||
| 1788 | $accessAfter = null; |
|
| 1789 | if (empty($sessionInfo['nb_days_access_after_end']) || |
|
| @@ 4768-4773 (lines=6) @@ | ||
| 4765 | $params['show_description'] = isset($sessionInfo['show_description']) ? $sessionInfo['show_description'] : intval($showDescription); |
|
| 4766 | ||
| 4767 | if (!empty($daysCoachAccessBeforeBeginning) && !empty($daysCoachAccessAfterBeginning)) { |
|
| 4768 | if (empty($sessionInfo['nb_days_access_before_beginning']) || |
|
| 4769 | (!empty($sessionInfo['nb_days_access_before_beginning']) && |
|
| 4770 | $sessionInfo['nb_days_access_before_beginning'] < $daysCoachAccessBeforeBeginning) |
|
| 4771 | ) { |
|
| 4772 | $params['coach_access_start_date'] = $coachBefore; |
|
| 4773 | } |
|
| 4774 | ||
| 4775 | if (empty($sessionInfo['nb_days_access_after_end']) || |
|
| 4776 | (!empty($sessionInfo['nb_days_access_after_end']) && |
|