diff --git a/lam/templates/account.php b/lam/templates/account.php index ae96a069..37612e1a 100644 --- a/lam/templates/account.php +++ b/lam/templates/account.php @@ -240,7 +240,7 @@ switch ($_POST['select']) { // Select which part of page should be loaded and ch case 'finish': // Check if pdf-file should be created if ($_POST['outputpdf']) { - createpdf($_SESSION['account']); + createpdf(array($_SESSION['account'])); $select_local = 'pdf'; } break; @@ -363,7 +363,7 @@ if ($select_local != 'pdf') { echo "
\n"; echo "