fixed PHP notice

This commit is contained in:
Roland Gruber 2011-11-01 17:14:54 +00:00
parent 5fb59098ad
commit fc99709183
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ class lamList {
} }
elseif ($option == 'SESSION') { elseif ($option == 'SESSION') {
$filename = createModulePDF(array($_SESSION[$_POST['PDFSessionID']]),$pdfStruct); $filename = createModulePDF(array($_SESSION[$_POST['PDFSessionID']]),$pdfStruct);
unset($_SESSION[$_GET['PDFSessionID']]); unset($_SESSION[$_POST['PDFSessionID']]);
} }
if ($filename != '') { if ($filename != '') {
return "<script type=\"text/javascript\">window.open('" . $filename . "', '_blank');</script>"; return "<script type=\"text/javascript\">window.open('" . $filename . "', '_blank');</script>";