What could cause a temperature gauge to malfunction?, even if the car is running on 1991 BMW 325i

Don't know how much more to add other than what was told, its' an electrical problem. Work has been done, but the car hasn't been driven as of yet.

Asked by for the 1991 BMW 325i
Engine temp gauge or outside air temp gauge? If you're talking about the outside air temp, the sensor for it is located under the front of the vehicle and they are easily damaged by parking stops, curbs etc.. due to their location.