From 8370c26e695c8d48eb6e31bbf1ae62b68566d95b Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 8 Jul 2007 11:06:06 +0000 Subject: [PATCH] use ->new_rand() --- lam/lib/pdf.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/pdf.inc b/lam/lib/pdf.inc index e3f5b4ae..315d94b1 100644 --- a/lam/lib/pdf.inc +++ b/lam/lib/pdf.inc @@ -150,7 +150,7 @@ function createModulePDF($accounts,$pdf_structure="default") { $subdirs = explode('/', str_replace($_SESSION['lampath'], '', $fullpath)); for ($i=0; $irand . time() .'.pdf'; + $filename .= 'tmp/' . $_SESSION['ldap']->new_rand() . time() .'.pdf'; // Save PDF $pdf->Output($filename); // Output meta refresh to pdf-file