summaryrefslogtreecommitdiff
path: root/includes/temp_functions.php
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-03-05 23:28:51 +0100
committerINOPIAE <inopiae@cacert.org>2013-03-05 23:28:51 +0100
commit91bf0ec7e9d3f34866a5843c13cc6079311c0adf (patch)
treed74595405d822e6b129ca92d4da021c5fe9944fa /includes/temp_functions.php
parent90bdd8cbe3eb660d3887337919173ce730b344fb (diff)
downloadcacert-devel-91bf0ec7e9d3f34866a5843c13cc6079311c0adf.tar.gz
cacert-devel-91bf0ec7e9d3f34866a5843c13cc6079311c0adf.tar.xz
cacert-devel-91bf0ec7e9d3f34866a5843c13cc6079311c0adf.zip
bug 1136: change in sql statement
Diffstat (limited to 'includes/temp_functions.php')
-rw-r--r--includes/temp_functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/temp_functions.php b/includes/temp_functions.php
index 9dba0ae..fd6fa1f 100644
--- a/includes/temp_functions.php
+++ b/includes/temp_functions.php
@@ -239,7 +239,7 @@ 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."' and `id`!='".$emailid."'" ;
+ $query = "select * from `email` where `memid`='".$id."'";
$res=mysql_query($query);
while($row = mysql_fetch_assoc($res)){
revoke_all_client_cert($row['id']);