diff --git a/lam/templates/masscreate.php b/lam/templates/masscreate.php index d1d36c40..c97c7a96 100644 --- a/lam/templates/masscreate.php +++ b/lam/templates/masscreate.php @@ -41,7 +41,7 @@ if ($_POST['back']) $select = 'main'; if ($_POST['cancel']) $select = 'cancel'; if ($_POST['create']) $select = 'create'; if ($_POST['pdf']) { - createpdf($_SESSION['accounts']); + createUserPDF($_SESSION['accounts']); $select='pdf'; } if (!$select && !$_SESSION['pointer']) $select='main'; @@ -305,9 +305,11 @@ switch ($select) { echo ''; echo _('All Users have been created'); echo ''; - echo ''; + echo ''; echo ''; echo ''; + if ( isset($_SESSION['pointer'])) unset($_SESSION['pointer']); + if ( isset($_SESSION['errors'])) unset($_SESSION['errors']); } break; }