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:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-08-12 16:10:19 +0300
committerLukas Reschke <lukas@statuscode.ch>2016-08-29 16:07:05 +0300
commit11fe503bcd0b71f6d668a9a21668353e192f1560 (patch)
tree4829ce97671513a1a10e3d5e597671f21b0a6d94
parentd2d15082764badd43ed2aa8d44253ff94b7d1b18 (diff)
[stable9] lastInsertId requires the prefix (#25786)
backport of https://github.com/owncloud/core/pull/25764
-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');
}
/**