mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Add experimental .env for test purposes.
This commit is contained in:
@@ -44,7 +44,7 @@ if (!function_exists('envNonEmpty')) {
|
||||
function envNonEmpty(string $key, $default = null)
|
||||
{
|
||||
$result = env($key, $default);
|
||||
if (is_string($result) && '' === $result) {
|
||||
if ('' === $result) {
|
||||
$result = $default;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user