mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
parent
c487a8b447
commit
87a16f11fa
@ -1265,7 +1265,7 @@ abstract class DbObject
|
|||||||
/** @var DbObject $obj */
|
/** @var DbObject $obj */
|
||||||
$obj = new static;
|
$obj = new static;
|
||||||
|
|
||||||
if (self::$dbObjectStore !== null) {
|
if (self::$dbObjectStore !== null && $obj->hasUuidColumn()) {
|
||||||
$table = $obj->getTableName();
|
$table = $obj->getTableName();
|
||||||
assert($connection instanceof Db);
|
assert($connection instanceof Db);
|
||||||
$uuid = UuidLookup::findUuidForKey($id, $table, $connection, self::$dbObjectStore->getBranch());
|
$uuid = UuidLookup::findUuidForKey($id, $table, $connection, self::$dbObjectStore->getBranch());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user