Skip to content
Permalink
Browse files

Use default language when lang_before_translation is empty

  • Loading branch information...
cperthel committed Aug 13, 2018
1 parent 010f9ad commit 85866c57d9149f8973df1298cf5b40c60ef2b64e
Showing with 1 addition and 1 deletion.
  1. +1 −1 helper.php
@@ -39,7 +39,7 @@ function __construct() {
$this->opts = array_fill_keys($this->opts, true);
// get default translation
if(!empty($conf['lang_before_translation'])) {
if(empty($conf['lang_before_translation'])) {
$dfl = $conf['lang'];
} else {
$dfl = $conf['lang_before_translation'];

0 comments on commit 85866c5

Please sign in to comment.
You can’t perform that action at this time.