diff options
Diffstat (limited to 'lib/private/comments')
-rw-r--r-- | lib/private/comments/manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/comments/manager.php b/lib/private/comments/manager.php index 05f981f244d..09e59f28370 100644 --- a/lib/private/comments/manager.php +++ b/lib/private/comments/manager.php @@ -455,7 +455,7 @@ class Manager implements ICommentsManager { ->execute(); if ($affectedRows > 0) { - $comment->setId(strval($this->dbConn->lastInsertId('*PREFIX*comments'))); + $comment->setId(strval($qb->getLastInsertId())); } return $affectedRows > 0; |