Commit d28c004a authored by Franco Fichtner's avatar Franco Fichtner

certificates: fix a crash report

parent 47ab66a1
......@@ -1087,7 +1087,8 @@ endif;?>
$caname = "";
$inuse = "";
$revoked = "";
if (isset($userid) && in_array($cert['refid'], $config['system']['user'][$userid]['cert'])) {
$usercert = isset($config['system']['user'][$userid]['cert']) ? $config['system']['user'][$userid]['cert'] : array();
if (isset($userid) && in_array($cert['refid'], $usercert)) {
continue;
}
if (isset($cert['caref'])) {
......
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