Skip to content

Commit

Permalink
authservers: PHP Warning: implode(): Invalid arguments ... , closes #…
Browse files Browse the repository at this point in the history
…3742

(cherry picked from commit 09c34b2)
  • Loading branch information
AdSchellevis authored and fichtner committed Oct 9, 2019
1 parent f91b85c commit bb0e6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/www/system_authservers.php
Expand Up @@ -246,7 +246,7 @@
}
$server['ldap_read_properties'] = !empty($pconfig['ldap_read_properties']);
$server['ldap_sync_memberof'] = !empty($pconfig['ldap_sync_memberof']);
$server['ldap_sync_memberof_groups'] = implode(",", $pconfig['ldap_sync_memberof_groups']);
$server['ldap_sync_memberof_groups'] = !empty($pconfig['ldap_sync_memberof_groups']) ? implode(",", $pconfig['ldap_sync_memberof_groups']) : array();
} elseif ($server['type'] == "radius") {
$server['host'] = $pconfig['radius_host'];

Expand Down

0 comments on commit bb0e6e5

Please sign in to comment.