Skip to content

Commit

Permalink
Fixed issue #18633: Inherited value doesn't match any attribute option (
Browse files Browse the repository at this point in the history
#3001)

Co-authored-by: Lapiu Dev <devgit@lapiu.biz>
  • Loading branch information
gabrieljenik and lapiudevgit committed Apr 14, 2023
1 parent bc8923a commit d61c00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/themeOptions/options_core.php
Expand Up @@ -135,7 +135,7 @@
$sParentLabelOption = $options[$sParentOption];
$options['inherit'] = gT($sParentLabelOption) . "";
} else {
$sParentOption = $sParentOption !== '' ? gT($sParentOption) : $sParentOption;
$sParentOption = ! empty($options[$sParentOption]) ? gT($options[$sParentOption]) : '';
$options['inherit'] = $sParentOption . "";
}
}
Expand Down

0 comments on commit d61c00b

Please sign in to comment.