diff options
Diffstat (limited to 'apps/federation')
-rw-r--r-- | apps/federation/lib/DbHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federation/lib/DbHandler.php b/apps/federation/lib/DbHandler.php index 5499b4547b6..ebff671c21a 100644 --- a/apps/federation/lib/DbHandler.php +++ b/apps/federation/lib/DbHandler.php @@ -87,7 +87,7 @@ class DbHandler { $result = $query->execute(); if ($result) { - return (int)$this->connection->lastInsertId('*PREFIX*'.$this->dbTable); + return $query->getLastInsertId(); } $message = 'Internal failure, Could not add trusted server: ' . $url; |