diff options
author | Felix Dörre <felix@dogcraft.de> | 2015-06-09 22:53:41 +0200 |
---|---|---|
committer | Felix Dörre <felix@dogcraft.de> | 2015-06-09 22:53:41 +0200 |
commit | eadb03311454c5dc6234c45a76eb5943612568e0 (patch) | |
tree | e7662d54dd29e0b7bb12ec6e3431e56e8e3a2c43 | |
parent | 5ab9a7359bf42b9bd0219edb65b35366617eae69 (diff) | |
download | cacert-devel-eadb03311454c5dc6234c45a76eb5943612568e0.tar.gz cacert-devel-eadb03311454c5dc6234c45a76eb5943612568e0.tar.xz cacert-devel-eadb03311454c5dc6234c45a76eb5943612568e0.zip |
bug 1042: fix minor bad code, fix the missing table cell in the assurance viewbug-1042
-rw-r--r-- | includes/notary.inc.php | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php index 553e8ef..4565bb1 100644 --- a/includes/notary.inc.php +++ b/includes/notary.inc.php @@ -417,15 +417,11 @@ define('THAWTE_REVOCATION_DATETIME', '2010-11-16 00:00:00'); */ function output_assurances_header($title, $support, $log) { - if ($support == 1) { - $log = 1; - } - $colspan = 7; if ($support == 1) { $colspan += 2; } - if ($log == 1) { + if ($log == 1 || $support == 1) { $colspan += 1; } ?> @@ -451,7 +447,7 @@ define('THAWTE_REVOCATION_DATETIME', '2010-11-16 00:00:00'); <td class="DataTD"><strong><?=_("Method")?></strong></td> <td class="DataTD"><strong><?=_("Experience Points")?></strong></td> <? - if ($log == 1) + if ($log == 1 || $support == 1) { ?> <td class="DataTD"><strong><?=_("Revoked")?></strong></td> @@ -487,7 +483,7 @@ define('THAWTE_REVOCATION_DATETIME', '2010-11-16 00:00:00'); <td class="DataTD"><strong><?=$experience_txt?>:</strong></td> <td class="DataTD"><?=intval($sumexperience)?></td> <? - if ($log == 1) + if ($log == 1 || $support == 1) { ?> <td class="DataTD"> </td> |