1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-02-12 09:25:26 +00:00
This commit is contained in:
Daniel Supernault 2018-11-26 20:26:27 -07:00
parent ebd05897a6
commit 2d773ca537
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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]
);