diff options
Diffstat (limited to 'src/scoretable.php')
| -rw-r--r-- | src/scoretable.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/scoretable.php b/src/scoretable.php index 6ed81af..690d5c1 100644 --- a/src/scoretable.php +++ b/src/scoretable.php @@ -319,7 +319,10 @@ if($redo) { $score[$e]["userflag"] . ".png\"> " . $score[$e]["username"]."/".$score[$e]["site"] . " </td>"; else $strtmp .= " <td nowrap>" . $score[$e]["username"]."/".$score[$e]["site"] . " </td>"; - $strtmp .= "<td>" . $score[$e]["userfullname"]; + if($score[$e]['usershortinstitution'] != '') + $strtmp .= "<td>[" . $score[$e]['usershortinstitution'] . '] ' . $score[$e]["userfullname"]; + else + $strtmp .= "<td>" . $score[$e]["userfullname"]; // } $_SESSION["scorepos"][$score[$e]["username"]."-".$score[$e]["site"]] = $cg2; |