mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -04:00
Merge pull request #1152 from nextcloud/butonic-patch-2
[stable9] lastInsertId requires the prefix (#25786)
This commit is contained in:
commit
e9fb2ec5f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue