mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Added default to helper per @marcusmoore
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
493ffc10c1
commit
1a0e1b5f6c
|
@ -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';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue