mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 02:36:42 +02:00
refactor(migrations): replace 191 value with more relevant one
This commit is contained in:
parent
a9989d841a
commit
057559183c
6 changed files with 6 additions and 6 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue