mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
Make sure legacy page can still handle the new model data (csr always exists, but is empty when not used)
This commit is contained in:
parent
94952145b3
commit
dbd80f33f5
@ -2095,7 +2095,7 @@ $( document ).ready(function() {
|
||||
}
|
||||
$subj = htmlspecialchars($subj);
|
||||
}
|
||||
if (isset($cert['csr'])) {
|
||||
if (!empty($cert['csr'])) {
|
||||
$subj = htmlspecialchars(csr_get_subject($cert['csr']));
|
||||
$caname = "<em>" . gettext("external - signature pending") . "</em>";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user