mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
system: why init string when you want an array...
This commit is contained in:
parent
5c3d077fe6
commit
11ac9d3ed1
@ -430,7 +430,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
'emailAddress' => $pconfig['dn_email'],
|
||||
'commonName' => $pconfig['dn_commonname']);
|
||||
if (count($altnames)) {
|
||||
$altnames_tmp = "";
|
||||
$altnames_tmp = array();
|
||||
foreach ($altnames as $altname) {
|
||||
$altnames_tmp[] = "{$altname['type']}:{$altname['value']}";
|
||||
}
|
||||
@ -465,7 +465,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$dn['organizationalUnitName'] = $pconfig['csr_dn_organizationalunit'];
|
||||
}
|
||||
if (count($altnames)) {
|
||||
$altnames_tmp = "";
|
||||
$altnames_tmp = array();
|
||||
foreach ($altnames as $altname) {
|
||||
$altnames_tmp[] = "{$altname['type']}:{$altname['value']}";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user