GemsTracker / gemstracker-library

GEneric Medical Survey Tracker, main library
http://gemstracker.org
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

PrefillAnswers script fails when track fieldcodes are equal but differ in case #687

Closed roelfaber closed 2 years ago

roelfaber commented 2 years ago

Track fieldcodes can be equal, but if in one case an uppercase letter is used and in another case lowercase the script fails on line 199:

_arraycombine(): Both parameters should have an equal number of elements in /data/www/lib/emctest/vendor/gemstracker/gemstracker/classes/Gems/Event/Survey/BeforeAnswering/PrefillAnswers.php on line 199

E.g. OV01 in one track vs ov01 in another (or the same) track.