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
1 changed files with 1 additions and 1 deletions

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