diff options
author | INOPIAE <inopiae@cacert.org> | 2013-05-15 02:42:50 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-05-15 02:42:50 +0200 |
commit | 22c48c06e0a6e83de1d85c3490bec60eeda55737 (patch) | |
tree | 0f8454063538d6fc6b57f32b64af2834337de65b | |
parent | 069d4239f789f97d46ee4f33227e0e3ae0663715 (diff) | |
download | cacert-devel-22c48c06e0a6e83de1d85c3490bec60eeda55737.tar.gz cacert-devel-22c48c06e0a6e83de1d85c3490bec60eeda55737.tar.xz cacert-devel-22c48c06e0a6e83de1d85c3490bec60eeda55737.zip |
bug 1136: fixed variable typo
-rw-r--r-- | includes/temp_functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/temp_functions.php b/includes/temp_functions.php index fd6fa1f..32041b5 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']); |