diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2016-08-29 20:28:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-29 20:28:51 +0200 |
commit | e9fb2ec5f3c609a809034dec939e985cbae40796 (patch) | |
tree | b610668ded93505017d93582a275b2129e2c6b80 /apps | |
parent | 1062583a2ef13fde27c69287ea072d0e02be304a (diff) | |
parent | 11fe503bcd0b71f6d668a9a21668353e192f1560 (diff) | |
download | nextcloud-server-e9fb2ec5f3c609a809034dec939e985cbae40796.tar.gz nextcloud-server-e9fb2ec5f3c609a809034dec939e985cbae40796.zip |
Merge pull request #1152 from nextcloud/butonic-patch-2
[stable9] lastInsertId requires the prefix (#25786)
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'); } /** |