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

Value of 0 (zero) gets stripped #41

Closed
olds463 opened this issue Apr 22, 2016 · 2 comments
Closed

Value of 0 (zero) gets stripped #41

olds463 opened this issue Apr 22, 2016 · 2 comments

Comments

@olds463
Copy link

olds463 commented Apr 22, 2016

old_value: {"desc":"test","enable_hostcheck":0}
new_value: {"desc":"testies","enable_hostcheck":"1"}

When using $logCustomFields any value with 0 in the JSON element will get removed from the output display from the blade template.

@scs75
Copy link

scs75 commented Apr 25, 2016

Same problem here.
The numeric and string 0 casts to FALSE in Log.php line 185.

@anteriovieira
Copy link
Member

Sorry for the delay f3ffa30 .

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

No branches or pull requests

3 participants