Skip to content

Commit

Permalink
Merge pull request #29036 from mdeweerd/fix/double_dollar_conf
Browse files Browse the repository at this point in the history
Fix double $conf->global->$conf into $conf->global->...
  • Loading branch information
eldy authored Mar 23, 2024
2 parents 84ae247 + 3d130e3 commit 17131bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/modules/societe/mod_codecompta_digitaria.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function info($langs)
$texte = str_replace(array('{s1}', '{s2}', '{s3}', '{s4}'), array($s1, $s2, $s3, $s4), $texte);
$texte .= "<br>\n";
// Remove special char if COMPANY_DIGITARIA_REMOVE_SPECIAL is set to 1 or not set (default)
if (!isset($conf->global->COMPANY_DIGITARIA_REMOVE_SPECIAL) || !empty($conf->global->$conf->global->COMPANY_DIGITARIA_REMOVE_SPECIAL)) {
if (!isset($conf->global->COMPANY_DIGITARIA_REMOVE_SPECIAL) || !empty($conf->global->COMPANY_DIGITARIA_REMOVE_SPECIAL)) {
$texte .= $langs->trans('RemoveSpecialChars').' = '.yn(1)."<br>\n";
}
// Apply a regex replacement pattern on code if COMPANY_DIGITARIA_CLEAN_REGEX is set. Value must be a regex with parenthesis. The part into parenthesis is kept, the rest removed.
Expand Down

0 comments on commit 17131bb

Please sign in to comment.