mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 05:18:40 +00:00
workflow drafting
This commit is contained in:
parent
4027a9159f
commit
d4b116aa85
|
|
@ -87,7 +87,7 @@ final class L11nManager
|
||||||
public function loadLanguage(string $language, string $from, array $translation) : void
|
public function loadLanguage(string $language, string $from, array $translation) : void
|
||||||
{
|
{
|
||||||
if (!isset($translation[$from])) {
|
if (!isset($translation[$from])) {
|
||||||
throw new \UnexpectedValueException($from);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->language[$language][$from] = !isset($this->language[$language][$from])
|
$this->language[$language][$from] = !isset($this->language[$language][$from])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user