|
@@ -189,7 +189,6 @@ class SluggableListener extends MappedEventSubscriber
|
|
|
$config = $this->getConfiguration($om, $meta->name);
|
|
|
foreach ($config['slugs'] as $slugField => $options) {
|
|
|
$options['useObjectClass'] = $config['useObjectClass'];
|
|
|
- $fields = $options['fields'];
|
|
|
// collect the slug from fields
|
|
|
$slug = $meta->getReflectionProperty($slugField)->getValue($object);
|
|
|
// if slug should not be updated, skip it
|