mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 15:54:03 +02:00
DbObject: logId should show autoinc id in case...
...nothing else is present
This commit is contained in:
parent
2146d852d9
commit
2e29188020
@ -988,6 +988,10 @@ abstract class DbObject
|
||||
$logId = $id;
|
||||
}
|
||||
|
||||
if ($logId === null && $this->autoincKeyName) {
|
||||
$logId = $this->getAutoincId();
|
||||
}
|
||||
|
||||
return $logId;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user