No physician shall be allowed, in any civil matter, to disclose any information which he acquired in attending the patient in a professional capacity, and which was necessary to enable him to act in that capacity, which shall tend to blacken the character of the patient, without consent of said patient, except in civil matters brought by such patient, for damages on account of personal injuries.