LSldapObject :: validateAttrsData: fix typo

This commit is contained in:
Benjamin Renard 2020-05-09 11:37:09 +02:00
parent 2b535c4640
commit 0feb8e16ea

View file

@ -426,7 +426,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
}
else {
// Don't blame on non-create form for attributes not-present in form (or freezed)
if ($LSform && $idFrom != 'create' && (!$LSform -> hasElement($attr_name) || $LSform -> isFreeze($attr_name)))
if ($LSform && $idForm != 'create' && (!$LSform -> hasElement($attr_name) || $LSform -> isFreeze($attr_name)))
continue;
LSerror :: addErrorCode('LSattribute_06',$attr -> getLabel());