]> git.mjollnir.org Git - moodle.git/commitdiff
Actually, let's include journals that have no feedback yet as well.
authormoodler <moodler>
Wed, 16 Oct 2002 07:18:07 +0000 (07:18 +0000)
committermoodler <moodler>
Wed, 16 Oct 2002 07:18:07 +0000 (07:18 +0000)
mod/journal/lib.php

index 848d9769f39662f4c22464c595ffcf69099f6226..f9623bb8614d231856c387f9c5a52c2969d81c8f 100644 (file)
@@ -176,7 +176,7 @@ function journal_get_users_done($journal) {
 function journal_print_user_entry($course, $user, $entry, $teachers, $ratings) {
     global $THEME;
 
-    if ($entry->timemarked and $entry->timemarked < $entry->modified) {
+    if ($entry->timemarked < $entry->modified) {
         $colour = $THEME->cellheading2;
     } else {
         $colour = $THEME->cellheading;