Merge branch 'develop' into feature/activitystreams
This commit is contained in:
commit
d33793df14
5 changed files with 10 additions and 66 deletions
|
@ -43,7 +43,7 @@ class AppServiceProvider extends ServiceProvider
|
|||
$tag = Tag::firstOrCreate(['tag' => $tag]);
|
||||
$tagsToAdd[] = $tag->id;
|
||||
}
|
||||
if (count($tagsToAdd > 0)) {
|
||||
if (count($tagsToAdd) > 0) {
|
||||
$note->tags()->attach($tagsToAdd);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue