Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-08-29 21:28:51 +0300
committerGitHub <noreply@github.com>2016-08-29 21:28:51 +0300
commite9fb2ec5f3c609a809034dec939e985cbae40796 (patch)
treeb610668ded93505017d93582a275b2129e2c6b80
parent1062583a2ef13fde27c69287ea072d0e02be304a (diff)
parent11fe503bcd0b71f6d668a9a21668353e192f1560 (diff)
Merge pull request #1152 from nextcloud/butonic-patch-2
[stable9] lastInsertId requires the prefix (#25786)
-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');
}
/**