Commit 99834c94 authored by Leigh Stoller's avatar Leigh Stoller

Minor fix for new sslcerts table structure.

parent 30b54d7d
......@@ -37,7 +37,7 @@ if (!$isadmin && !$target_user->SameUser($this_user)) {
$query_result =& $target_user->TableLookUp("user_sslcerts",
"cert,privkey",
"encrypted=1 and status='valid'");
"encrypted=1 and revoked is null");
if (!mysql_num_rows($query_result)) {
PAGEHEADER("Download SSL Certificate for $target_uid");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment