I did a similar fix as MichaelD did, except I chose a white PVC cap from my ACE Hardware store. I used my Dremel to rotor out the threads inside. I used a hacksaw to cut a slit in the leg, then pounded on the cap with a rubber mallet. No glue necessary and the white cap looks great!
PVC cap: 1" inner diameter.