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.
1 parent bf710f8 commit 1c3bcc3Copy full SHA for 1c3bcc3
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