mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Merge pull request #4670 from pixelfed/staging
Update StatusTagsPipeline, fix object tags slug query
This commit is contained in:
commit
d5baf2627a
1 changed files with 0 additions and 2 deletions
|
@ -84,14 +84,12 @@ class StatusTagsPipeline implements ShouldQueue
|
|||
if(!$hashtag) {
|
||||
$hashtag = Hashtag::updateOrCreate([
|
||||
'slug' => str_slug($name, '-', false),
|
||||
],[
|
||||
'name' => $name
|
||||
]);
|
||||
}
|
||||
} else {
|
||||
$hashtag = Hashtag::updateOrCreate([
|
||||
'slug' => str_slug($name, '-', false),
|
||||
],[
|
||||
'name' => $name
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue