diff --git a/lam-0.4/templates/masscreate.php b/lam-0.4/templates/masscreate.php index 9b816ab2..a9035d88 100644 --- a/lam-0.4/templates/masscreate.php +++ b/lam-0.4/templates/masscreate.php @@ -62,7 +62,7 @@ if (count($_POST)==0) { else $select='main'; } else { - /* Check loaded attributed in $_SESSION['accounts'] if file was loaded and + /* Check loaded attributed in $_SESSION['mass_accounts'] if file was loaded and * filesize is bigger as 0. */ if ($_POST['tolist'] && ($_FILES['userfile']['size']>0)) $select = 'list'; @@ -73,7 +73,7 @@ else { else if ($_POST['create']) $select = 'create'; else if ($_POST['pdf']) { // Create PDF-File - createUserPDF($_SESSION['accounts']); + createUserPDF($_SESSION['mass_accounts']); // Stop script die; } @@ -93,8 +93,8 @@ switch ($select) { case 'list' : if (loadfile()) { // Do Refresh to masscreate.php itself if csv-file was loaded successfully - $_SESSION['group_suffix'] = $_POST['f_group_suffix']; - $_SESSION['group_selectprofile'] = $_POST['f_selectgroupprofile']; + $_SESSION['mass_group_suffix'] = $_POST['f_group_suffix']; + $_SESSION['mass_group_selectprofile'] = $_POST['f_selectgroupprofile']; metaRefresh("masscreate.php?list2=true"); // Stop script die; @@ -110,8 +110,6 @@ switch ($select) { echo _('Create new Accounts'); echo ''."\n". ''."\n". - ''."\n". - ''."\n". '
'."\n". '