There is no rule that states a dog should be automatically put to sleep if it bites a person or other animal. Legally, if certain conditions are fulfilled, the person in charge of the dog may be brought before a court and may be ordered to have the dog put to sleep, although this is by no means inevitable.
So my mate who works for the RSPCA said down the pub today.