Fix slug using non-existent ID

This commit is contained in:
www-data 2023-05-13 02:09:38 +02:00
parent bcad3d8493
commit c78a8be664

View file

@ -84,7 +84,7 @@ class Podcast
public function generateSlug(SluggerInterface $slugger): void
{
$this->slug = $this->id . '-' . $slugger->slug($this->name)->lower();
$this->slug = $slugger->slug($this->name)->lower();
}
/**