Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hide due date when there isn;t one
  • Loading branch information
moodler committed May 31, 2005
1 parent facf76e commit 98823d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assignment/index.php
Expand Up @@ -76,7 +76,7 @@

$type = $types[$assignment->assignmenttype];

$due = userdate($assignment->timedue);
$due = $assignment->timedue ? userdate($assignment->timedue) : '-';
if (!$assignment->visible) {
//Show dimmed if the mod is hidden
$link = "<a class=\"dimmed\" href=\"view.php?id=$assignment->coursemodule\">".format_string($assignment->name,true)."</a>";
Expand Down

0 comments on commit 98823d2

Please sign in to comment.