mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2025-04-22 11:12:24 +02: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());
|
LSerror :: addErrorCode('LSattribute_07',$this -> attrs[$dependAttr] -> getLabel());
|
||||||
$retval = false;
|
$retval = false;
|
||||||
}
|
}
|
||||||
|
elseif (!$this -> validateAttrData($LSform,$this -> attrs[$dependAttr])) {
|
||||||
|
LSerror :: addErrorCode('LSattribute_08',$this -> attrs[$dependAttr] -> getLabel());
|
||||||
|
$retval = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LSerror :: addErrorCode('LSattribute_06',$this -> attrs[$dependAttr] -> getLabel());
|
LSerror :: addErrorCode('LSattribute_06',$this -> attrs[$dependAttr] -> getLabel());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue