N°6408 - CRUD : Issue on DBlinkchange event when delete et create

This commit is contained in:
Eric Espie
2023-06-26 11:34:00 +02:00
parent 60e302162c
commit 77868e356b

View File

@@ -602,6 +602,7 @@ abstract class DBObject implements iDisplay
public function Set($sAttCode, $value)
{
if (!utils::StartsWith(get_class($this), 'CMDBChange') && $this->GetKey() > 0) {
// not all the values have __to_string() so print_r is sed and preferred over var_export for the handling or circular references
$this->LogCRUDEnter(__METHOD__, "$sAttCode => ".print_r($value, true));
}