diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-08-12 16:10:19 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-08-29 16:07:05 +0300 |
commit | 11fe503bcd0b71f6d668a9a21668353e192f1560 (patch) | |
tree | 4829ce97671513a1a10e3d5e597671f21b0a6d94 | |
parent | d2d15082764badd43ed2aa8d44253ff94b7d1b18 (diff) |
[stable9] lastInsertId requires the prefix (#25786)
backport of https://github.com/owncloud/core/pull/25764
-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'); } /** |