2
0
forked from Wavyzz/dolibarr

Merge pull request #3429 from marcosgdf/patch-2

Removed odd test
This commit is contained in:
Juanjo Menent
2015-08-30 09:03:36 +02:00

View File

@@ -744,7 +744,7 @@ function pdf_pagefoot(&$pdf,$outputlangs,$paramfreetext,$fromcompany,$marge_bass
// First line of company infos
$line1=""; $line2=""; $line3=""; $line4="";
if ($showdetails && 1)
if ($showdetails)
{
// Company name
if ($fromcompany->name)
@@ -788,7 +788,7 @@ function pdf_pagefoot(&$pdf,$outputlangs,$paramfreetext,$fromcompany,$marge_bass
$line2.=($line2?" - ":"").$fromcompany->email;
}
}
if (($showdetails && 2) || ($fromcompany->country_code == 'DE'))
if ($showdetails || ($fromcompany->country_code == 'DE'))
{
// Managers
if ($fromcompany->managers)