Skip to content

Commit

Permalink
Fix: broken feature, enable source details by default
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Sep 6, 2012
1 parent 720d0d9 commit b5ba6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/pdf.lib.php
Expand Up @@ -218,7 +218,7 @@ function pdf_build_address($outputlangs,$sourcecompany,$targetcompany='',$target
{
$stringaddress .= ($stringaddress ? "\n" : '' ).$outputlangs->convToOutputCharset(dol_format_address($sourcecompany))."\n";

if (! empty($conf->global->MAIN_PDF_ADDALSOSOURCEDETAILS))
if (empty($conf->global->MAIN_PDF_DISABLESOURCEDETAILS))
{
// Tel
if ($sourcecompany->tel) $stringaddress .= ($stringaddress ? "\n" : '' ).$outputlangs->transnoentities("Phone").": ".$outputlangs->convToOutputCharset($sourcecompany->tel);
Expand Down

0 comments on commit b5ba6ef

Please sign in to comment.