Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 98af309

Browse files
committed
Small fix.
1 parent 2108615 commit 98af309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AdldapServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function addProviders(Adldap $adldap, array $connections = [])
8787
);
8888

8989
// Try connecting to the provider if `auto_connect` is true.
90-
if ($settings['auto_connect'] === true) {
90+
if (isset($settings['auto_connect']) && $settings['auto_connect'] === true) {
9191
$provider->connect();
9292
}
9393

0 commit comments

Comments
 (0)