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 "
  • $time_vote_text
  • "; } echo ""; } -//--------------------End of PHP Functions for displaying median time----------------- +//--------------------End of PHP Function for displaying median time----------------- if ($ratingCntTot == 0 && $memberReviewCnt == 0) { displayMedianTime($rounded_median_time, $alltimes); @@ -1880,7 +1879,7 @@ if ($embargoCnt > 0) // ---------------- end Game Details section ------------ - } // if ($detailView) + } // if ($detailView || $historyView) //------------------------ CROSS-RECOMMENDATIONS --------------------------