]> git.mjollnir.org Git - moodle.git/commitdiff
In Eloy's notice-finding spirit, I continue by fixing another notice which
authordefacer <defacer>
Thu, 1 Apr 2004 09:27:23 +0000 (09:27 +0000)
committerdefacer <defacer>
Thu, 1 Apr 2004 09:27:23 +0000 (09:27 +0000)
also (damnation! :) caused the HRs not to be displayed as they should.

calendar/view.php

index 3931f616c9a51dfd38ad3e501863356245302bfb..fc3c2d6317d08a46f810a9c722d85051c9bf8ffe 100644 (file)
@@ -623,7 +623,7 @@ function calendar_show_upcoming_events($courses, $groups, $users, $futuredays, $
         }
         echo '<span class="cal_event_date">'.$events[$i]->time.'</span>';
         echo '<br />'.$events[$i]->description.'<br />';
-        if($i < $lines - 1) {
+        if($i < $numevents - 1) {
             echo '<hr />';
         }
         echo '</p>';