Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[stable9.1] lastInsertId requires the prefix (#25785)
  • Loading branch information
butonic authored and LukasReschke committed Aug 29, 2016
commit b81c74a156cf44597dbdd748631b0d23a51cd0bd
2 changes: 1 addition & 1 deletion apps/files_external/lib/Service/DBConfigService.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public function addMount($mountPoint, $storageBackend, $authBackend, $priority,
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
]);
$query->execute();
return (int)$this->connection->lastInsertId('external_mounts');
return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
}

/**
Expand Down