| @@ 1500-1505 (lines=6) @@ | ||
| 1497 | $accessBefore = null; |
|
| 1498 | $accessAfter = null; |
|
| 1499 | ||
| 1500 | if (empty($sessionInfo['nb_days_access_before_beginning']) || |
|
| 1501 | (!empty($sessionInfo['nb_days_access_before_beginning']) && |
|
| 1502 | $sessionInfo['nb_days_access_before_beginning'] < $this->daysCoachAccessBeforeBeginning) |
|
| 1503 | ) { |
|
| 1504 | $accessBefore = $coachBefore; |
|
| 1505 | } |
|
| 1506 | ||
| 1507 | $accessAfter = null; |
|
| 1508 | if (empty($sessionInfo['nb_days_access_after_end']) || |
|
| @@ 4549-4554 (lines=6) @@ | ||
| 4546 | $params['show_description'] = isset($sessionInfo['show_description']) ? $sessionInfo['show_description'] : intval($showDescription); |
|
| 4547 | ||
| 4548 | if (!empty($daysCoachAccessBeforeBeginning) && !empty($daysCoachAccessAfterBeginning)) { |
|
| 4549 | if (empty($sessionInfo['nb_days_access_before_beginning']) || |
|
| 4550 | (!empty($sessionInfo['nb_days_access_before_beginning']) && |
|
| 4551 | $sessionInfo['nb_days_access_before_beginning'] < $daysCoachAccessBeforeBeginning) |
|
| 4552 | ) { |
|
| 4553 | $params['coach_access_start_date'] = $coachBefore; |
|
| 4554 | } |
|
| 4555 | ||
| 4556 | if (empty($sessionInfo['nb_days_access_after_end']) || |
|
| 4557 | (!empty($sessionInfo['nb_days_access_after_end']) && |
|