diff --git a/course/lib.php b/course/lib.php
index <HASH>..<HASH> 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -72,7 +72,7 @@ function print_log_selector_form($course, $selecteduser=0, $selecteddate="today"
     // Put today up the top of the list
     $dates = array("$timemidnight" => get_string("today").", ".userdate($timenow, $strftimedate) );
 
-    if (! $course->startdate) {
+    if (!$course->startdate or ($course->startdate > $timenow)) {
         $course->startdate = $course->timecreated;
     }
Slight fix for displaying logs for courses starting in the future