[stable9] lastInsertId requires the prefix (#25786)
backport of https://github.com/owncloud/core/pull/25764
This commit is contained in:
parent
d2d1508276
commit
11fe503bcd
|
@ -196,7 +196,7 @@ class DBConfigService {
|
|||
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
|
||||
]);
|
||||
$query->execute();
|
||||
return (int)$this->connection->lastInsertId('external_mounts');
|
||||
return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue