mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-01 00:03:18 +01:00
LSldapObject::validateAttrData(): fix fatal errors on missing formated log messages
This commit is contained in:
parent
2fec564d91
commit
fadfe2d2ba
1 changed files with 2 additions and 2 deletions
|
@ -542,7 +542,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
|
||||||
self :: log_warning(
|
self :: log_warning(
|
||||||
"validateAttrData(".$LSform->idForm.", ".$attr->name."): ".
|
"validateAttrData(".$LSform->idForm.", ".$attr->name."): ".
|
||||||
"validation with LDAP search on base DN='$sbasedn' and ".
|
"validation with LDAP search on base DN='$sbasedn' and ".
|
||||||
"filter='".$sfilter->as_string()."' error ($ret object(s) found)"
|
"filter='".($sfilter?$sfilter->as_string():null)."' error ($ret object(s) found)"
|
||||||
);
|
);
|
||||||
if ($LSform)
|
if ($LSform)
|
||||||
$LSform -> setElementError($attr, $msg_error);
|
$LSform -> setElementError($attr, $msg_error);
|
||||||
|
@ -551,7 +551,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
|
||||||
self :: log_trace(
|
self :: log_trace(
|
||||||
"validateAttrData(".$LSform->idForm.", ".$attr->name."): ".
|
"validateAttrData(".$LSform->idForm.", ".$attr->name."): ".
|
||||||
"validation with LDAP search on base DN='$sbasedn' and ".
|
"validation with LDAP search on base DN='$sbasedn' and ".
|
||||||
"filter='".$sfilter->as_string()."' success ($ret object(s) found)"
|
"filter='".($sfilter?$sfilter->as_string():null)."' success ($ret object(s) found)"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue