Merge branch 'develop' into feature/activitystreams

This commit is contained in:
Jonny Barnes 2017-09-12 15:10:57 +01:00
commit d33793df14
5 changed files with 10 additions and 66 deletions

View file

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