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

Array posted without keys #75

Open
digixweb opened this issue Feb 7, 2016 · 0 comments
Open

Array posted without keys #75

digixweb opened this issue Feb 7, 2016 · 0 comments

Comments

@digixweb
Copy link

digixweb commented Feb 7, 2016

I noticed when posting an array with unaltered keys in order: 0 => somevalue1, 1 => somevalue2 the index doesn't seemed to be posted with it, so for example it outputs: ["somevalue1", "somevalue2"]. Only, if the keys are not in order: 0 => somevalue1, 2 => somevalue2, the keys are posted with the array, like this: {"0":"somevalue1","2":" somevalue2" }. However when altering the ordered sequence of keys in the database back and forth, does change the behaviour and send the keys alongside again. Not sure what is going on, but it would be great if it would send the keys with it at all times.

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

1 participant