Padraig Harrington signed off a difficult second round in style at the Portugal Masters, holing a huge putt to save par on his final green.