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.
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.