mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
Fix undefined property notice in L10n\L10n
This commit is contained in:
parent
2aea286143
commit
f5e07be04e
1 changed files with 3 additions and 3 deletions
|
@ -120,7 +120,7 @@ class L10n
|
|||
return;
|
||||
}
|
||||
|
||||
if (!$this->langSave) {
|
||||
if (empty($this->langSave)) {
|
||||
$this->langSave = $this->lang;
|
||||
$this->stringsSave = $this->strings;
|
||||
}
|
||||
|
@ -140,8 +140,8 @@ class L10n
|
|||
$this->strings = $this->stringsSave;
|
||||
$this->lang = $this->langSave;
|
||||
|
||||
unset($this->stringsSave);
|
||||
unset($this->langSave);
|
||||
$this->stringsSave = null;
|
||||
$this->langSave = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue