Moved return

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-12-19 20:47:06 +00:00
parent a5947b8109
commit 97ba023152

View file

@ -1407,10 +1407,10 @@ 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';
} }
// Return US english if we don't have a match
return 'en-US';
} }
public static function mapBackToLegacyLocale($new_locale = null) public static function mapBackToLegacyLocale($new_locale = null)