Skip to content
Merged
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] lastInsertId requires the prefix (#25786)
  • Loading branch information
butonic authored and LukasReschke committed Aug 29, 2016
commit 11fe503bcd0b71f6d668a9a21668353e192f1560
2 changes: 1 addition & 1 deletion apps/files_external/service/dbconfigservice.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,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