Subject: CAcert Code Development list.
List archive
- From: Michael Tänzer <michael.taenzer AT cacert.org>
- To: "critical-admin AT cacert.org" <critical-admin AT cacert.org>
- Cc: cacert-devel AT lists.cacert.org, Ulrich Schröter CAcert <ulrich AT cacert.org>, Benny Baumann <benbe AT cacert.org>, Marcus Mängel <inopiae AT cacert.org>
- Subject: Patch request: Bug #1219
- Date: Wed, 06 Nov 2013 16:25:45 +0100
- Openpgp: id=9940BEF1
Hi folks,
We have a fix for https://bugs.cacert.org/view.php?id=1219
"In SE console the GPG certificate statistics show wrong value for
expired certs"
The fix was reviewed by Benny Baumann (BenBE) and me (NEOatNHNG) and
tested by Martin Gummi and Eva Stöwe (Eva).
Diff is attached. Please also run the locale makefile so that our
translators see the new strings (if present) on
https://translations.cacert.org and new translations get imported into
the system.
Changed files:
/pages/account/43.php
--
Have a nice day,
Michael Tänzer
diff --git a/pages/account/43.php b/pages/account/43.php index a942f18..53b24d3 100644 --- a/pages/account/43.php +++ b/pages/account/43.php @@ -504,7 +504,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); <td class="DataTD"><?=_("Revoked")?></td> <td class="DataTD"><?=_("Latest Expire")?></td> </tr> - +<!-- server certificates --> <tr> <td class="DataTD"><?=_("Server")?>:</td> <? @@ -564,7 +564,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); <? } ?> </tr> - +<!-- client certificates --> <tr> <td class="DataTD"><?=_("Client")?>:</td> <? @@ -619,7 +619,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); <? } ?> </tr> - +<!-- gpg certificates --> <tr> <td class="DataTD"><?=_("GPG")?>:</td> <? @@ -645,9 +645,9 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $valid = $drow['valid']; $query = "select COUNT(*) as `expired` - from `emailcerts` - where `memid` = '".intval($row['id'])."' - and `expire` <= NOW()"; + from `gpg` + where `memid` = '".intval($row['id'])."' + and `expire` <= NOW()"; $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $expired = $drow['expired']; @@ -666,7 +666,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); <? } ?> </tr> - +<!-- org server certificates --> <tr> <td class="DataTD"><a href="account.php?id=58&userid=<?=intval($row['id'])?>"><?=_("Org Server")?></a>:</td> <? @@ -726,7 +726,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); <? } ?> </tr> - +<!-- org client certificates --> <tr> <td class="DataTD"><?=_("Org Client")?>:</td> <?
Attachment:
signature.asc
Description: OpenPGP digital signature
- Patch request: Bug #1219, Michael Tänzer, 11/06/2013
- Re: Patch request: Bug #1219, Wytze van der Raay, 11/06/2013
Archive powered by MHonArc 2.6.18.