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