Skip to content

Commit

Permalink
Fix return session list when coach start date is null - refs BT#11148
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed May 11, 2016
1 parent 6308594 commit 181e185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/inc/lib/userportal.lib.php
Expand Up @@ -1144,7 +1144,7 @@ public function returnCoursesAndSessions($user_id)
}

if (
$session_now > $allowed_time
$session_now >= $allowed_time
//($coachAccessEndDate > $dif_time_after - 1)
) {
// Read only and accessible.
Expand Down Expand Up @@ -1283,7 +1283,7 @@ public function returnCoursesAndSessions($user_id)
}

if (
$session_now > $allowed_time //&&
$session_now >= $allowed_time //&&
//$coachAccessEndDate > $dif_time_after - 1
) {
if (api_get_setting('hide_courses_in_sessions') == 'false') {
Expand Down

0 comments on commit 181e185

Please sign in to comment.