mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-21 17:07:53 +02:00
Merge pull request #4607 from Icinga/fix/error-on-skipping-dlap-in-setup-wizard
Fix TypeError when skipping ldap in setup wizard (cherry picked from commit 27811dba7b68efe02f340e9f70e3079457b6d914)
This commit is contained in:
parent
ef7f40d319
commit
ba440e5a21
@ -97,12 +97,12 @@ class LdapDiscoveryPage extends Form
|
||||
*
|
||||
* @param bool $suppressArrayNotation
|
||||
*
|
||||
* @return array|null
|
||||
* @return array
|
||||
*/
|
||||
public function getValues($suppressArrayNotation = false)
|
||||
{
|
||||
if (! isset($this->discovery) || ! $this->discovery->isSuccess()) {
|
||||
return null;
|
||||
return [];
|
||||
}
|
||||
$disc = $this->discovery;
|
||||
return array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user