Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Issue 418 - Audit presentation #419

Merged
merged 2 commits into from
Apr 27, 2018
Merged

[FIX] Issue 418 - Audit presentation #419

merged 2 commits into from
Apr 27, 2018

Conversation

quetzyg
Copy link
Contributor

@quetzyg quetzyg commented Apr 27, 2018

This pull request fixes an issue with the Tags feature (introduced in v5.0.0), when using the getMetadata() method in the trans() and @lang() helpers, which would cause an error (see #418).

The fix does cause a minor breaking change, although it's quite straightforward to mitigate (in case you're using the tag values).

Previous calls to $audit->tags, which would return an array (['foo', 'bar',] or []), now return the original string value (foo,bar or null) as stored in the database.

To get the tags as an array, like in versions v5.0.0 up to v6.1.0, you should now use the getTags() method instead: $audit->getTags()

@quetzyg quetzyg merged commit ec2e490 into owen-it:master Apr 27, 2018
@quetzyg quetzyg deleted the fix/418 branch April 27, 2018 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant