if ( $this->config['settings']['pdf_logo'] ) {
$pdf->ezImage( GLM_MEMBERS_PLUGIN_MEDIA_PATH . '/images/large/' . $this->config['settings']['pdf_logo'], 0, 555, 'width', 'center' );
}
-$pdf->setLineStyle( 1 );
-$pdf->setStrokeColor(0, 0, 0, 1);
-$pdf->line( 20, 40, $this->pdf_width, 40 );
if ( $this->config['settings']['footer_text'] ) {
+ $pdf->setLineStyle( 1 );
+ $pdf->setStrokeColor(0, 0, 0, 1);
+ $pdf->line( 20, 40, $this->pdf_width, 40 );
$footer_y = 30;
// Break up the footer text by newlines and add each one
$footer_text = explode( "\n", $this->config['settings']['footer_text'] );