Skip to content
Permalink
Browse files

Merge pull request #238 from dsb-ccb-solutions/fix/handling_lang_befo…

…re_translation_var

Use default language when lang_before_translation is empty
  • Loading branch information...
splitbrain committed Feb 26, 2019
2 parents c19338a + 85866c5 commit 91f0a984325dcb83ea4fcd6e47cbd9fc58a8dcbc
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 91f0a98

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