mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 08:20:46 +00:00
Fixes #406
This commit is contained in:
parent
ebd05897a6
commit
2d773ca537
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class StatusEntityLexer implements ShouldQueue
|
|||
|
||||
foreach ($tags as $tag) {
|
||||
DB::transaction(function () use ($status, $tag) {
|
||||
$slug = str_slug($tag);
|
||||
$slug = str_slug($tag, '-', false);
|
||||
$hashtag = Hashtag::firstOrCreate(
|
||||
['name' => $tag, 'slug' => $slug]
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue