Incorrect,offside as they were goalside of the last defender,therefore as there was only the goalkeeper between them the ref was correct,no goal!bluenova said:It was onside - I was deffo wrong earlier.
Fifa laws of the game:
A player is in an offside position if:
• he is nearer to his opponents’ goal line than both the ball and the second-last opponent
http://www.fifa.com/mm/document/affederation/federation/81/42/36/lawsofthegameen.pdf
So, if he was behind the ball he was onside.