summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-08-15 00:14:31 +0200
committerMichael Tänzer <neo@nhng.de>2012-08-15 00:14:31 +0200
commitb316652307b171588e813b7586efa028f38b6e92 (patch)
tree4cffdfc5fa3b4a2ba71d512aa5eb89be668c5917 /includes
parentded64e3bc978fa332777cf4fffa84c756dd65cb3 (diff)
downloadcacert-devel-b316652307b171588e813b7586efa028f38b6e92.tar.gz
cacert-devel-b316652307b171588e813b7586efa028f38b6e92.tar.xz
cacert-devel-b316652307b171588e813b7586efa028f38b6e92.zip
bug 922: only select distinct server serts to avoid processing the same cert
multiple times Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'includes')
-rw-r--r--includes/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php
index 5e87605..4f8ed03 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -622,7 +622,7 @@
echo $row['domain']."<br>\n";
$dres = mysql_query(
- "select `domaincerts`.`id`
+ "select distinct `domaincerts`.`id`
from `domaincerts`, `domlink`
where `domaincerts`.`domid` = '$id'
or (