refactor(migrations): replace 191 value with more relevant one

This commit is contained in:
Yassine Doghri 2021-12-21 14:15:10 +00:00
commit 057559183c
6 changed files with 6 additions and 6 deletions

View file

@ -306,7 +306,7 @@ class PodcastImportController extends BaseController
$textToSlugify = $this->request->getPost('slug_field') === 'title'
? (string) $item->title
: basename((string) $item->link);
$slug = slugify($textToSlugify, 185);
$slug = slugify($textToSlugify, 120);
if (in_array($slug, $slugs, true)) {
$slugNumber = 2;
while (in_array($slug . '-' . $slugNumber, $slugs, true)) {