Olly Murs was given two hours to save his leg after fears the metal plate in his knee became infected.