mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
LSformElement_password : fixed mail_attr parameter reading method
This commit is contained in:
parent
e409e5ee01
commit
3e069a5907
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class LSformElement_password extends LSformElement {
|
|||
if ($mail=="") {
|
||||
$mail_attrs = $this -> params['html_options']['mail']['mail_attr'];
|
||||
if (!is_array($mail_attrs)) {
|
||||
$mail_attrs=array();
|
||||
$mail_attrs=array($mail_attrs);
|
||||
}
|
||||
foreach($mail_attrs as $attr) {
|
||||
$mail_attr = $this -> attr_html -> attribute -> ldapObject -> attrs[$attr];
|
||||
|
|
Loading…
Reference in a new issue