summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-08-29 20:28:51 +0200
committerGitHub <noreply@github.com>2016-08-29 20:28:51 +0200
commite9fb2ec5f3c609a809034dec939e985cbae40796 (patch)
treeb610668ded93505017d93582a275b2129e2c6b80 /apps
parent1062583a2ef13fde27c69287ea072d0e02be304a (diff)
parent11fe503bcd0b71f6d668a9a21668353e192f1560 (diff)
downloadnextcloud-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.php2
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');
}
/**