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 50e4158 + 1c3bcc3 commit 8f20800Copy full SHA for 8f20800
lib/Gedmo/Sluggable/Mapping/Event/Adapter/ORM.php
@@ -64,7 +64,7 @@ public function getSimilarSlugs($object, $meta, array $config, $slug)
64
if (!$meta->isIdentifier($config['slug'])) {
65
$namedId = str_replace('.', '_', $id);
66
$qb->andWhere($qb->expr()->neq('rec.'.$id, ':'.$namedId));
67
- $qb->setParameter($namedId, $value);
+ $qb->setParameter($namedId, $value, $meta->getTypeOfField($namedId));
68
}
69
70
$q = $qb->getQuery();
0 commit comments