CRM_Case_Form_Activity - Fix PHP warning when opening case