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

Setting value to 0 (number) is not possible #84

Closed
remixer-dec opened this issue Jul 23, 2018 · 1 comment
Closed

Setting value to 0 (number) is not possible #84

remixer-dec opened this issue Jul 23, 2018 · 1 comment
Labels

Comments

@remixer-dec
Copy link

When I'm trying to set a value to 0 with

$firebase->set($path,0);

Firebase returns an error

{ "error" : "No data supplied." }

And when I send it as a string "0", the value in the database also becomes a string.
For me it's not critical, but I think this is an important thing to notice.

@ktamas77
Copy link
Owner

Thank you, I'll look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants