getAllowedRecords() pointing to non array element - elimination of php warning
dPformSafe not coded for UI_OUTPUT_HTML - replaced with $AppUI->___() function call