Permalink
Browse files

♻️ Fix another notice

The key `lang_before_translation` might not be set and thus we should use empty to cover that case
as well.
  • Loading branch information...
micgro42 committed Aug 7, 2018
1 parent 63a4f57 commit 9cf46baabdee5a82c443dd10c535a587c360beb9
Showing with 1 addition and 1 deletion.
  1. +1 −1 helper.php
View
@@ -39,7 +39,7 @@ function __construct() {
$this->opts = array_fill_keys($this->opts, true);
// get default translation
if(!$conf['lang_before_translation']) {
if(!empty($conf['lang_before_translation'])) {
$dfl = $conf['lang'];
} else {
$dfl = $conf['lang_before_translation'];

0 comments on commit 9cf46ba

Please sign in to comment.