| @@ 1734-1739 (lines=6) @@ | ||
| 1731 | $accessBefore = null; |
|
| 1732 | $accessAfter = null; |
|
| 1733 | ||
| 1734 | if (empty($sessionInfo['nb_days_access_before_beginning']) || |
|
| 1735 | (!empty($sessionInfo['nb_days_access_before_beginning']) && |
|
| 1736 | $sessionInfo['nb_days_access_before_beginning'] < $this->daysCoachAccessBeforeBeginning) |
|
| 1737 | ) { |
|
| 1738 | $accessBefore = $coachBefore; |
|
| 1739 | } |
|
| 1740 | ||
| 1741 | $accessAfter = null; |
|
| 1742 | if (empty($sessionInfo['nb_days_access_after_end']) || |
|
| @@ 4774-4779 (lines=6) @@ | ||
| 4771 | $params['show_description'] = isset($sessionInfo['show_description']) ? $sessionInfo['show_description'] : intval($showDescription); |
|
| 4772 | ||
| 4773 | if (!empty($daysCoachAccessBeforeBeginning) && !empty($daysCoachAccessAfterBeginning)) { |
|
| 4774 | if (empty($sessionInfo['nb_days_access_before_beginning']) || |
|
| 4775 | (!empty($sessionInfo['nb_days_access_before_beginning']) && |
|
| 4776 | $sessionInfo['nb_days_access_before_beginning'] < $daysCoachAccessBeforeBeginning) |
|
| 4777 | ) { |
|
| 4778 | $params['coach_access_start_date'] = $coachBefore; |
|
| 4779 | } |
|
| 4780 | ||
| 4781 | if (empty($sessionInfo['nb_days_access_after_end']) || |
|
| 4782 | (!empty($sessionInfo['nb_days_access_after_end']) && |
|