A 22volt zener is appropriate – As Robert said – it catches spikes on the chip supply line and will regulate or clamp them to 22V. Chances are that if the zener does not measure short circuit it will be ok. The output voltage is controlled by the Optocoupler and the TL431 in the circuit – the latter may differ from your PSU.
Note that I did not say the reference circuit I gave is the actual circuit – it is a REFERENCE circuit provided by the chip manufacturer to aid the designer – Robin's psu will be a close derivative.
The part number MBRF2045 is a schottky rectifier, so most likely the output rectifier ( place of D3 in the circuit), I am sure that device will be operational still.
I do go along with the general persuasion that you just ditch it and get a replacement, but if you are like me and cannot leave things alone…go ahead and try to fix it!
It's not magic and the important thing is to be safe in the process. If you have no experience in the subject, and wish to have a go at replacing parts and seeing what happens, ok, just beware of high voltages on that circuit.
WRT the reference circuit, EVEYTHING to the left of the transformer and optocoupler is a life-taking high voltage. There is NO safe earth or ground reference in that part of the circuit, so you cannot easily connect oscilloscope probe grounds, etc to measure anything.
This danger is easily seen in the circuit, but is magnified on your actual board, as you cannot draw a nice visual line separating the danger zones. High voltage can be present anywhere. Do not handle the board at all in a manner that may allow skin contact with any pcb conductor or component lead. Make sure that heatsink is actually grounded, else don't touch it. Don't touch the PSU with mains on! And when the mains is off and disconnected, BEWARE of the high voltage still remaining in the region of the input filter electrolytic capacitors – 'C3' in the circuit…
Just be careful and attentive..
Joe