diff options
author | INOPIAE <inopiae@cacert.org> | 2013-01-07 19:14:42 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-01-07 19:14:42 +0100 |
commit | 7e3f7f845eb1112411bdcbe9b5ed1663abf85553 (patch) | |
tree | 44b5d216bd86f49c35a0bdceaab8f606b5c63450 | |
parent | 9f09e36c1aebfc4677ac1b9cff2f37b88dc23a5a (diff) | |
download | cacert-devel-7e3f7f845eb1112411bdcbe9b5ed1663abf85553.tar.gz cacert-devel-7e3f7f845eb1112411bdcbe9b5ed1663abf85553.tar.xz cacert-devel-7e3f7f845eb1112411bdcbe9b5ed1663abf85553.zip |
bug 893: fixed delete email routine in account delete
-rw-r--r-- | includes/temp_functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/temp_functions.php b/includes/temp_functions.php index 30fe76a..c1cc96f 100644 --- a/includes/temp_functions.php +++ b/includes/temp_functions.php @@ -75,7 +75,7 @@ function account_delete($id, $arbno, $adminid){ mysql_query($query); //delete all other email address - $query = "select * from `email` where `memid`='".$id."' and `memid`='".$emailid."'" ; + $query = "select * from `email` where `memid`='".$id."' and `id`!='".$emailid."'" ; $res=mysql_query($query); while($row = mysql_fetch_assoc($res)){ account_email_delete($row['id']); |