Added default to helper per @marcusmoore

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-12-19 20:23:11 +00:00
parent 493ffc10c1
commit 1a0e1b5f6c

View file

@ -1406,6 +1406,9 @@ class Helper
\Log::debug('Current language is '.$legacy.', using '.$new.' instead'); \Log::debug('Current language is '.$legacy.', using '.$new.' instead');
return $new; return $new;
} }
// Return US english if we don't have a match
return 'en-US';
} }
} }