From b17fcabc6265211cce728355dd4a78d70f10e71d Mon Sep 17 00:00:00 2001 From: katagia Date: Mon, 25 Aug 2003 20:51:42 +0000 Subject: [PATCH] fixed problem wrong page displayd --- lam/templates/masscreate.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; }