diff --git a/www/viewgame b/www/viewgame index c754b1e2..094e6ab0 100644 --- a/www/viewgame +++ b/www/viewgame @@ -1270,8 +1270,6 @@ if ($curuser) { // --------------------PHP Function for displaying median play time-------------------------- - - function displayMedianTime($rounded_median_time, $alltimes) { if ($rounded_median_time < 1) return; // Turn the total minutes into hours and minutes, and then text @@ -1285,17 +1283,18 @@ function displayMedianTime($rounded_median_time, $alltimes) { foreach ($alltimes as $t) { $time_vote_text = "" . convertTimeToText($t['time_in_minutes']) . ""; $note = htmlspecialchars($t['time_note']); - // For new time votes, add the note (if present) and link to the user's profile + // Add the time note (if present) if ($note != "") { $time_vote_text .= ": \"$note\""; } + // Link to the voter's profile $time_vote_text .= " — {$t['name']}"; echo "