Fixed the way an array was defined that was causing issues between php versions.