Handle the case where a user has an empty realname, the maintainers table looks bad with missing borders around the cell, fill in with a   in those cases
This commit is contained in:
@@ -78,7 +78,11 @@ if ($_REQUEST['sub'])
|
|||||||
|
|
||||||
echo "<tr class=color4>\n";
|
echo "<tr class=color4>\n";
|
||||||
echo " <td style=\"$style;border-left:thin solid\">Maintainer summary</td>\n";
|
echo " <td style=\"$style;border-left:thin solid\">Maintainer summary</td>\n";
|
||||||
echo " <td style=\"$style\"><a href=\"mailto:".$oUser->sEmail."\">".$oUser->sRealname."</a></td>\n";
|
if($oUser->sRealname == "")
|
||||||
|
echo " <td style=\"$style\"><a href=\"mailto:".$oUser->sEmail."\"> </a></td>\n";
|
||||||
|
else
|
||||||
|
echo " <td style=\"$style\"><a href=\"mailto:".$oUser->sEmail."\">".$oUser->sRealname."</a></td>\n";
|
||||||
|
|
||||||
$count = $oUser->getMaintainerCount(true);
|
$count = $oUser->getMaintainerCount(true);
|
||||||
if($count == 0)
|
if($count == 0)
|
||||||
echo " <td style=\"$style\"> </td>\n";
|
echo " <td style=\"$style\"> </td>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user