From 607e608bdc3ab9430d768c804a64ae6aa855e4bf Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 18 Jun 2018 09:28:11 -0400 Subject: [PATCH] Fix issue with pdf data overlapping. Issue with the phone and fax overlapping the notes. --- models/admin/ajax/leadPdfExport.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/models/admin/ajax/leadPdfExport.php b/models/admin/ajax/leadPdfExport.php index cf89f04..4155b0e 100644 --- a/models/admin/ajax/leadPdfExport.php +++ b/models/admin/ajax/leadPdfExport.php @@ -247,9 +247,12 @@ class GlmMembersAdmin_ajax_leadPdfExport extends GlmDataTravelLeads } $curY = $pdf->ezText( "\n", $size ); + // Reset Y to just below the main info. + $pdf->ezSetY( $endMainY ); + // Contacts if ( $lead['contacts'] ) { - $pdf->ezSetY( $endMainY ); + $pdf->selectFont( $mainFontBold ); $curY = $pdf->ezText( 'Additional Contacts', $size ); $column = 1; $saveY = $curY; -- 2.17.1