Skip to content

Fix gpc_get_xxx_array for associative arrays - #701

Closed
cproensa wants to merge 1 commit into
mantisbt:masterfrom
cproensa:0020476_gpc_get_int_array
Closed

Fix gpc_get_xxx_array for associative arrays#701
cproensa wants to merge 1 commit into
mantisbt:masterfrom
cproensa:0020476_gpc_get_int_array

Conversation

@cproensa

@cproensa cproensa commented Jan 5, 2016

Copy link
Copy Markdown
Contributor

Functions:
gpc_get_int_array(),
gpc_get_bool_array()
dont work properly for html fields named with
associative indexes (numeric out or order, or
strings), becasue it assumes indexes as zero
based sequential numbers.
The code is here changed to keep the original
keys as defined in the field names.

Fixes #20476

Functions:
gpc_get_int_array(),
gpc_get_bool_array()
dont work properly for html fields named with
associative indexes (numeric out or order, or
strings), becasue it assumes indexes as zero
based sequential numbers.
The code is here changed to keep the original
keys as defined in the field names.

Fixes #20476
@dregad

dregad commented Jan 5, 2016

Copy link
Copy Markdown
Member

Fixed in b53f7ca

@dregad dregad closed this Jan 5, 2016
@cproensa
cproensa deleted the 0020476_gpc_get_int_array branch January 5, 2016 15:39
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.

2 participants