Skip to content

Commit

Permalink
Fix var not not consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 7, 2019
1 parent 8318db8 commit 34beca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/pdf.lib.php
Expand Up @@ -453,7 +453,7 @@ function pdf_build_address($outputlangs, $sourcecompany, $targetcompany = '', $t
if (preg_match('/\((.+)\)/', $tmp, $reg)) $tmp=$reg[1];
$stringaddress.=($stringaddress ? "\n" : '' ).$tmp.': '.$outputlangs->convToOutputCharset($sourcecompany->idprof6);
}
if (! empty($conf->global->PDF_ADD_MORE_AFTER_ADDRESS)) {
if (! empty($conf->global->PDF_ADD_MORE_AFTER_SOURCE_ADDRESS)) {
$stringaddress.=($stringaddress ? "\n" : '' ).$conf->global->PDF_ADD_MORE_AFTER_SOURCE_ADDRESS;
}
}
Expand Down

0 comments on commit 34beca0

Please sign in to comment.