Added default to helper per @marcusmoore
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
493ffc10c1
commit
1a0e1b5f6c
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue