From 7eb19e55fa7e7dda6ce6c5d5a4b9483c11fce5fa Mon Sep 17 00:00:00 2001 From: Wytze van der Raay Date: Wed, 27 Feb 2013 10:37:43 +0000 Subject: [PATCH] Fix for https://bugs.cacert.org/view.php?id=1141 "If i delete Domains, no Servercerts for this domains are listet, even not the revoked". --- pages/account/12.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/account/12.php b/pages/account/12.php index 44926ca..fa8b41a 100644 --- a/pages/account/12.php +++ b/pages/account/12.php @@ -36,7 +36,7 @@ `domaincerts`.`expire` as `expires`, `revoked` as `revoke`, UNIX_TIMESTAMP(`revoked`) as `revoked`, `CN`, `domaincerts`.`serial`, `domaincerts`.`id` as `id` from `domaincerts`,`domains` - where `memid`='".intval($_SESSION['profile']['id'])."' and `deleted`=0 and `domaincerts`.`domid`=`domains`.`id` "; + where `memid`='".intval($_SESSION['profile']['id'])."' and `domaincerts`.`domid`=`domains`.`id` "; if($viewall != 1) { $query .= "AND `revoked`=0 AND `renewed`=0 "; @@ -49,7 +49,7 @@ { ?> - + "> + + + -