mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°7345 Accept DateTime objects for DBObject::Set() calls on AttributeDateTime and children (#618)
This commit is contained in:
@@ -4745,7 +4745,7 @@ abstract class DBObject implements iDisplay
|
||||
}
|
||||
}
|
||||
$oDate->modify($sModifier);
|
||||
$this->Set($sAttCode, $oDate->getTimestamp());
|
||||
$this->Set($sAttCode, $oDate);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user