DbObject: logId should show autoinc id in case...

...nothing else is present
This commit is contained in:
Thomas Gelf 2019-09-20 03:39:12 +02:00
parent 2146d852d9
commit 2e29188020

View File

@ -988,6 +988,10 @@ abstract class DbObject
$logId = $id;
}
if ($logId === null && $this->autoincKeyName) {
$logId = $this->getAutoincId();
}
return $logId;
}