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