mirror of https://github.com/pixelfed/pixelfed.git
Fixes #406
This commit is contained in:
parent
ebd05897a6
commit
2d773ca537
|
@ -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 New Issue