fixed error message
This commit is contained in:
parent
fad3f0b47a
commit
cbe36660ea
|
@ -198,7 +198,7 @@ if ($_FILES['inputfile'] && ($_FILES['inputfile']['size'] > 0)) {
|
|||
for ($i = 0; $i < sizeof($accounts); $i++) {
|
||||
// check against list of possible RDN attributes
|
||||
if (!in_array($data[$i][$ids['dn_rdn']], $rdnList)) {
|
||||
$errors[] = array(_('Account %s:') . ' dn_rdn' . $accounts[$i][$data[$i][$ids['dn_rdn']]], _("Invalid RDN attribute!"), array($i));
|
||||
$errors[] = array(_('Account %s:') . ' dn_rdn ' . $accounts[$i][$data[$i][$ids['dn_rdn']]], _("Invalid RDN attribute!"), array($i));
|
||||
}
|
||||
else {
|
||||
$account_dn = $data[$i][$ids['dn_rdn']] . "=" . $accounts[$i][$data[$i][$ids['dn_rdn']]] . ",";
|
||||
|
|
Loading…
Reference in New Issue