1047. Where the Cities and Towns Act, the Municipal Code or a municipal charter provides for the sending of a notice of claim as a precondition to the exercise of a recourse, the notice given by a member is valid for all the members of the group and the insufficiency of the notice cannot be urged against the representative.