mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
LSldapObject : Added attribute validation on generated depended attribute
This commit is contained in:
parent
33b21ad860
commit
878d52bcd5
1 changed files with 4 additions and 0 deletions
|
@ -523,6 +523,10 @@ class LSldapObject {
|
|||
LSerror :: addErrorCode('LSattribute_07',$this -> attrs[$dependAttr] -> getLabel());
|
||||
$retval = false;
|
||||
}
|
||||
elseif (!$this -> validateAttrData($LSform,$this -> attrs[$dependAttr])) {
|
||||
LSerror :: addErrorCode('LSattribute_08',$this -> attrs[$dependAttr] -> getLabel());
|
||||
$retval = false;
|
||||
}
|
||||
}
|
||||
else {
|
||||
LSerror :: addErrorCode('LSattribute_06',$this -> attrs[$dependAttr] -> getLabel());
|
||||
|
|
Loading…
Reference in a new issue