Commit 99834c94 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

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",
"encrypted=1 and status='valid'");
"encrypted=1 and revoked is null");
if (!mysql_num_rows($query_result)) {
PAGEHEADER("Download SSL Certificate for $target_uid");
Supports Markdown
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