Skip to content
Snippets Groups Projects
Commit 02e053ac authored by Raphaël Doursenaud's avatar Raphaël Doursenaud
Browse files

FIX #4242 Allow disabling dashes in documents

3.7 specific fix since document files have moved
parent 7c1fc2fe
No related branches found
No related tags found
No related merge requests found
......@@ -395,7 +395,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
*/
// 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)));
......
......@@ -242,7 +242,7 @@ class pdf_baleine extends ModelePDFProjects
$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)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment