ErrorException when saving post with no tags
Creating a new post without any tags throws the following error:-
production.ERROR: ErrorException: array_diff(): Argument #1 is not an array in /home/asgardcms/public_html/Modules/Tag/Traits/TaggableTrait.php:104
This is the fix..
EloquentPostRepository.php:47
$post->setTags(array_get($data, 'tags', []));
Thanks, you can send a PR with this if you want.
@nWidart I'd like to start contributing, and am following the steps listed here , but am stuck at Run ./travis.sh - never used travis before, and have never sent a PR before, can you give me some pointers please?!
No need for my PR anyway - looks like this issue was addressed in branch 2.0 so just needs merging into master?