diff options
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r-- | lib/public/AppFramework/Db/QBMapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Db/QBMapper.php b/lib/public/AppFramework/Db/QBMapper.php index 3e0a3c206e7..a6a44b8902e 100644 --- a/lib/public/AppFramework/Db/QBMapper.php +++ b/lib/public/AppFramework/Db/QBMapper.php @@ -119,7 +119,7 @@ abstract class QBMapper { $qb->execute(); - if($entity->getId() === null) { + if($entity->id === null) { $entity->setId((int)$qb->getLastInsertId()); } |