mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Initial code for LDAP authentication.
This commit is contained in:
@@ -46,7 +46,7 @@ if (!function_exists('envNonEmpty')) {
|
||||
function envNonEmpty(string $key, $default = null)
|
||||
{
|
||||
$result = env($key, $default);
|
||||
if (is_string($result) && $result === '') {
|
||||
if (is_string($result) && '' === $result) {
|
||||
$result = $default;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user