X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fpdf_report.inc;h=dd0ae91826016175edd6b3d048f93bc2f1c5bbcc;hb=c57a65eca46110b7e4a865dc2b007c1fd75838c3;hp=6b9b45c9f637c53b089a3a016eeefae8d93c9984;hpb=e3f484ae204332e27562507b0361e024fccf4c42;p=fa-stable.git diff --git a/reporting/includes/pdf_report.inc b/reporting/includes/pdf_report.inc index 6b9b45c9..dd0ae918 100644 --- a/reporting/includes/pdf_report.inc +++ b/reporting/includes/pdf_report.inc @@ -957,7 +957,7 @@ class FrontReport extends Cpdf } // do not use standard filenames or your sensitive company data // are world readable - $fname = $dir.'/'.uniqid('').'.pdf'; + $fname = $dir.'/'.random_id().'.pdf'; $this->Output($fname, 'F'); if ($email == 1)