From c78a8be664a24e72e013fb08311670aa34ffc625 Mon Sep 17 00:00:00 2001 From: www-data Date: Sat, 13 May 2023 02:09:38 +0200 Subject: [PATCH] Fix slug using non-existent ID --- src/Entity/Podcast.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Podcast.php b/src/Entity/Podcast.php index d64a96e..83dd65f 100644 --- a/src/Entity/Podcast.php +++ b/src/Entity/Podcast.php @@ -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(); } /**