N°6299 - DBUpdate regression in 3.1 when setting a field with same value in the concerned object

This commit is contained in:
Eric Espie
2023-05-11 16:16:49 +02:00
parent 7fe565c4fb
commit 5dc80f31f5
4 changed files with 23 additions and 3 deletions

View File

@@ -3637,9 +3637,10 @@ abstract class DBObject implements iDisplay
* @uses m_aOrigValues
* @uses m_aPreviousValuesForUpdatedAttributes
* @since 2.7.0 N°2293
* @since 3.1.0 N°6299 - change visibility
* @throws \Exception
*/
private function InitPreviousValuesForUpdatedAttributes()
protected final function InitPreviousValuesForUpdatedAttributes()
{
$aChanges= $this->ListChanges();
if (empty($aChanges))