We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a728c8 + 094a6f5 commit bf710f8Copy full SHA for bf710f8
lib/Gedmo/Loggable/Entity/Repository/LogEntryRepository.php
@@ -56,7 +56,7 @@ public function getLogEntriesQuery($entity)
56
$dql .= " AND log.objectClass = :objectClass";
57
$dql .= " ORDER BY log.version DESC";
58
59
- $objectId = $wrapped->getIdentifier();
+ $objectId = (string) $wrapped->getIdentifier();
60
$q = $this->_em->createQuery($dql);
61
$q->setParameters(compact('objectId', 'objectClass'));
62
0 commit comments