diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-08-12 15:10:19 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-08-29 15:07:05 +0200 |
commit | 11fe503bcd0b71f6d668a9a21668353e192f1560 (patch) | |
tree | 4829ce97671513a1a10e3d5e597671f21b0a6d94 /apps | |
parent | d2d15082764badd43ed2aa8d44253ff94b7d1b18 (diff) | |
download | nextcloud-server-11fe503bcd0b71f6d668a9a21668353e192f1560.tar.gz nextcloud-server-11fe503bcd0b71f6d668a9a21668353e192f1560.zip |
[stable9] lastInsertId requires the prefix (#25786)
backport of https://github.com/owncloud/core/pull/25764
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/service/dbconfigservice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/service/dbconfigservice.php b/apps/files_external/service/dbconfigservice.php index 31333f8cc32..418449a63ff 100644 --- a/apps/files_external/service/dbconfigservice.php +++ b/apps/files_external/service/dbconfigservice.php @@ -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'); } /** |