diff options
author | Benny Baumann <BenBE@geshi.org> | 2013-05-01 20:51:21 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2013-05-01 20:51:21 +0200 |
commit | f3949268132dad0f5c9b51c465355efe46b41d4e (patch) | |
tree | ddd50d893a33353d6cff8556a1b378edba6ee7ca /includes | |
parent | 32d2e33fa911c4e99350450be9bf8d716c5efea9 (diff) | |
parent | 4173e38402f9cd765828dd5bd59771f1e31db96e (diff) | |
download | cacert-devel-f3949268132dad0f5c9b51c465355efe46b41d4e.tar.gz cacert-devel-f3949268132dad0f5c9b51c465355efe46b41d4e.tar.xz cacert-devel-f3949268132dad0f5c9b51c465355efe46b41d4e.zip |
Merge branch 'bug-893' into testserver-stable
Diffstat (limited to 'includes')
-rw-r--r-- | includes/temp_functions.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/temp_functions.php b/includes/temp_functions.php index fb73587..58d0f24 100644 --- a/includes/temp_functions.php +++ b/includes/temp_functions.php @@ -177,11 +177,11 @@ function check_server_cert_running($uid,$cca=0){ // called from includes/account.php if($oldid == 50 && $process != "") $uid = intval($uid); if (0==$cca) { - $query1 = "select 1 from `domiancerts` where `memid`='$uid' and `expire`>NOW()"; - $query2 = "select 1 from `domiancerts` where `memid`='$uid' and `revoked`>NOW()"; + $query1 = "select 1 from `domaincerts` where `memid`='$uid' and `expire`>NOW()"; + $query2 = "select 1 from `domaincerts` where `memid`='$uid' and `revoked`>NOW()"; }else{ - $query1 = "select 1 from `domiancerts` where `memid`='$uid' and `expire`>(NOW()-90*86400) and `revoked`<`created`"; - $query2 = "select 1 from `domiancerts` where `memid`='$uid' and `revoked`>(NOW()-90*86400)"; + $query1 = "select 1 from `domaincerts` where `memid`='$uid' and `expire`>(NOW()-90*86400) and `revoked`<`created`"; + $query2 = "select 1 from `domaincerts` where `memid`='$uid' and `revoked`>(NOW()-90*86400)"; } $res = mysql_query($query1); $r1 = mysql_num_rows($res)>0; |