Skip to content

Commit

Permalink
FIX #4242 Allow disabling dashes in documents
Browse files Browse the repository at this point in the history
3.7 specific fix since document files have moved
  • Loading branch information
rdoursenaud committed Dec 17, 2015
1 parent 7c1fc2f commit 02e053a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/core/modules/livraison/doc/pdf_typhon.modules.php
Expand Up @@ -395,7 +395,7 @@ function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hid
*/

// Add line
if (! empty($conf->global->MAIN_PDF_DASH_BETWEEN_LINES) && $i < ($nblines - 1))
if ($conf->global->MAIN_PDF_DASH_BETWEEN_LINES && $i < ($nblines - 1))
{
$pdf->setPage($pageposafter);
$pdf->SetLineStyle(array('dash'=>'1,1','color'=>array(210,210,210)));
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/project/doc/pdf_baleine.modules.php
Expand Up @@ -242,7 +242,7 @@ function write_file($object,$outputlangs)
$nexY = $pdf->GetY();

// Add line
if (! empty($conf->global->MAIN_PDF_DASH_BETWEEN_LINES) && $i < ($nblignes - 1))
if ($conf->global->MAIN_PDF_DASH_BETWEEN_LINES && $i < ($nblignes - 1))
{
$pdf->setPage($pageposafter);
$pdf->SetLineStyle(array('dash'=>'1,1','color'=>array(210,210,210)));
Expand Down

0 comments on commit 02e053a

Please sign in to comment.