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…
Reference in New Issue