From: Steve Sutton Date: Mon, 18 Jun 2018 13:28:11 +0000 (-0400) Subject: Fix issue with pdf data overlapping. X-Git-Tag: v1.0.0^2~13 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=607e608bdc3ab9430d768c804a64ae6aa855e4bf;p=WP-Plugins%2Fglm-member-db-travel.git Fix issue with pdf data overlapping. Issue with the phone and fax overlapping the notes. --- 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;