Check if the actual $fieldname element is present in the $a_pkg[$id] array before trying to assign its value. Do same with default_value. Fixes issue where default value was not being populated for newly added fields.
Check if the actual $fieldname element is present in the $a_pkg[$id] array before trying to assign its value. Do same with default_value. Fixes issue where default value was not being populated for newly added fields.

pfsense/pfsense,NewEraCracker/pfsense,brunostein/pfsense,BlackstarGroup/pfsense,phil-davis/pfsense,brunostein/pfsense,phil-davis/pfsense,phil-davis/pfsense,pfsense/pfsense,jxmx/pfsense,phil-davis/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,dennypage/pfsense,dennypage/pfsense,BlackstarGroup/pfsense,NewEraCracker/pfsense,ptorsten/pfsense,dennypage/pfsense,dennypage/pfsense,ch1c4um/pfsense,NewEraCracker/pfsense,pfsense/pfsense,ptorsten/pfsense,BlackstarGroup/pfsense,brunostein/pfsense,NOYB/pfsense,jxmx/pfsense,pfsense/pfsense,jxmx/pfsense,NewEraCracker/pfsense,NOYB/pfsense,ptorsten/pfsense,ch1c4um/pfsense,ch1c4um/pfsense,NOYB/pfsense