Fixed recoverable fatal error in environment_fieldaccess_grant()