Skip to content

numeric field names cause wrong field name/value mapping #6

Description

@rudibatt

Inside the Record class we have two arrays mapping names and values indirectly. But as soon as a field-name is numeric, we overwrite the "nr" => "value" mapping (see https://github.com/FACT-Finder/FACT-Finder-PHP-Framework/blob/master/lib/FACTFinder/Record.php#L216)

The double mapping is IMHO completely unnecessary, so I think this can be solved by using a simple "name" => "value" map. Getting values will then of course not work any more.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions