diff --git a/lam/templates/masscreate.php b/lam/templates/masscreate.php index df61049c..1a557c20 100644 --- a/lam/templates/masscreate.php +++ b/lam/templates/masscreate.php @@ -233,14 +233,15 @@ function showMainPage($scope) { } echo "\n"; echo "\n"; + $RDNs = getRDNAttributes($scope); // DN attributes $sampleCSV_row[] = "\"" . $_SESSION['config']->get_Suffix($scope) . "\""; - $sampleCSV_row[] = "\"" . array_shift(getRDNAttributes($scope)) . "\""; + $sampleCSV_row[] = "\"" . $RDNs[0] . "\""; echo "\n"; echo $_SESSION['config']->get_Suffix($scope); echo "\n"; echo "\n"; - echo array_shift(getRDNAttributes($scope)); + echo $RDNs[0]; echo "\n"; // module attributes for ($m = 0; $m < sizeof($modules); $m++) {