summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-05-20 16:42:48 +0200
committerBenny Baumann <BenBE@geshi.org>2013-05-20 16:42:48 +0200
commitaa02730dde00c341b2854109204b5cd0b1c497cf (patch)
treec5871e4c50e57698df258767b1ca27e4b68e1bf9
parent6eba222f8c278fc912ad6a60ce1eede431e4987d (diff)
parent22c48c06e0a6e83de1d85c3490bec60eeda55737 (diff)
downloadcacert-devel-aa02730dde00c341b2854109204b5cd0b1c497cf.tar.gz
cacert-devel-aa02730dde00c341b2854109204b5cd0b1c497cf.tar.xz
cacert-devel-aa02730dde00c341b2854109204b5cd0b1c497cf.zip
Merge branch 'bug-1136' into testserver-stable
-rw-r--r--includes/temp_functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/temp_functions.php b/includes/temp_functions.php
index 58d0f24..d6e16c6 100644
--- a/includes/temp_functions.php
+++ b/includes/temp_functions.php
@@ -239,14 +239,14 @@ function revoke_all_private_cert($uid){
//revokes all certificates linked to a personal accounts
//gpg revokation needs to be added to a later point
$uid=intval($uid);
- $query = "select * from `email` where `memid`='".$id."'";
+ $query = "select `id` from `email` where `memid`='".$uid."'";
$res=mysql_query($query);
while($row = mysql_fetch_assoc($res)){
revoke_all_client_cert($row['id']);
}
- $query = "select * from `domains` where `memid`='".$id."'";
+ $query = "select `id` from `domains` where `memid`='".$uid."'";
$res=mysql_query($query);
while($row = mysql_fetch_assoc($res)){
revoke_all_server_cert($row['id']);