diff options
author | mam <m.maengel@project-biz.de> | 2014-02-21 07:40:44 +0100 |
---|---|---|
committer | mam <m.maengel@project-biz.de> | 2014-02-21 07:40:44 +0100 |
commit | fc3d432f6300e782e2073531867eb9bfed146026 (patch) | |
tree | 18860944fc39aac59e77bd48ff9d692e8ac8eedf | |
parent | c5e9c32222afb159e0e03a423c5b942a68661bc0 (diff) | |
download | cacert-devel-fc3d432f6300e782e2073531867eb9bfed146026.tar.gz cacert-devel-fc3d432f6300e782e2073531867eb9bfed146026.tar.xz cacert-devel-fc3d432f6300e782e2073531867eb9bfed146026.zip |
bug 1138: changed rules for formatting the output of an email in the show history
-rw-r--r-- | includes/notary.inc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php index 7f068bd..1f4465b 100644 --- a/includes/notary.inc.php +++ b/includes/notary.inc.php @@ -1402,17 +1402,17 @@ function output_log_email_header(){ function output_log_email($row,$primary){ $italic=''; $bold=''; - if (0==$row['deleted']) { + if ($row['deleted'] > 0) { $italic='italic '; } - if ($primary==$row['email']) { + if ($primary==$row['email'] && $row['deleted'] == 0) { $bold= 'bold '; } ?> <tr> - <td class="DataTD <? $bold . $italic ?>"><?=$row['email']?></td> - <td class="DataTD <? $bold . $italic ?>"><?=$row['created']?></td> - <td class="DataTD <? $bold . $italic ?>"><?=$row['deleted']?></td> + <td class="DataTD<? $bold . $italic ?>"><?=$row['email']?></td> + <td class="DataTD<? $bold . $italic ?>"><?=$row['created']?></td> + <td class="DataTD<? $bold . $italic ?>"><?=$row['deleted']?></td> </tr> <? } |