summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-04-11 22:32:06 +0200
committerMichael Tänzer <neo@nhng.de>2014-04-11 22:32:06 +0200
commitf08bf6cc3b13a71a1dca7a0bd0c54beaaa69563e (patch)
tree9ac46326079ad925807071e5add494a2f4c92263 /pages
parentb7fe66a40157eea02d3f22ccd60487ce1c761ed5 (diff)
downloadcacert-devel-f08bf6cc3b13a71a1dca7a0bd0c54beaaa69563e.tar.gz
cacert-devel-f08bf6cc3b13a71a1dca7a0bd0c54beaaa69563e.tar.xz
cacert-devel-f08bf6cc3b13a71a1dca7a0bd0c54beaaa69563e.zip
bug 1138: Properly display domain table
- Wrong call to get_domains() => deleted domains weren't included - <td> needs to be wrapped in a <tr> Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'pages')
-rw-r--r--pages/account/59.php15
1 files changed, 11 insertions, 4 deletions
diff --git a/pages/account/59.php b/pages/account/59.php
index e63f494..3b2060e 100644
--- a/pages/account/59.php
+++ b/pages/account/59.php
@@ -169,7 +169,9 @@ if (mysql_num_rows($dres) > 0) {
</table>
<br/>
<?
-$dres = get_domains($userid,'',1);
+
+// Domains
+$dres = get_domains($userid, 1);
?>
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
<tr>
@@ -182,9 +184,14 @@ if(mysql_num_rows($dres) > 0) {
{
output_log_domains($drow,$email);
}
-}ELSE{?>
- <td colspan="3" ><?=_('no entry avialable')?></td>
-<?}?>
+} else {
+ ?>
+ <tr>
+ <td colspan="3" ><?=_('no entry avialable')?></td>
+ </tr>
+ <?
+}
+?>
</table>
<br/>