Skip to content

Commit

Permalink
Fix file name output.
Browse files Browse the repository at this point in the history
Paul Becker: fix wrong name in output filename.
http://www.weberp.org/forum/showthread.php?tid=8198
  • Loading branch information
TurboPT committed Sep 3, 2018
1 parent bc14d0d commit d54dae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PDFQALabel.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
} //end of loop around GRNs to print


$pdf->OutputD($_SESSION['DatabaseName'] . '_GRN_' . $GRNNo . '_' . date('Y-m-d').'.pdf');
$pdf->OutputD($_SESSION['DatabaseName'] . '_QALabel_' . $GRNNo . '_' . date('Y-m-d').'.pdf');
$pdf->__destruct();
} else { //there were not GRNs to print
$Title = _('GRN Error');
Expand Down

0 comments on commit d54dae8

Please sign in to comment.