Skip to content

Commit b81c74a

Browse files
butonicLukasReschke
authored andcommitted
[stable9.1] lastInsertId requires the prefix (#25785)
backport of owncloud/core#25764
1 parent af515a6 commit b81c74a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_external/lib/Service/DBConfigService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function addMount($mountPoint, $storageBackend, $authBackend, $priority,
208208
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
209209
]);
210210
$query->execute();
211-
return (int)$this->connection->lastInsertId('external_mounts');
211+
return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
212212
}
213213

214214
/**

0 commit comments

Comments
 (0)