TWO goals in three second-half minutes cost Burnley the chance to do the double over promotion chasing West Ham, and end a run of six games without a win.

The Clarets were confident after taking a 2-0 lead into the break, but the Hammers hit back after making a double substitution at half-time, and Burnley had to resist further pressure to see the game out.

Marvin Bartley and Martin Paterson scored their first goals of 2012 to give Burnley a strong head-start.

Bartley ran on to Paterson's backheel and slotted past Robert Green to break the deadlock in the 25th minute.

Ben Mee then crossed for Paterson to get ahead of James Tomkins to double Burnley's lead 10 minutes before the break.

But West Ham boss Sam Allardyce rang the changes at the start of the second half, with Sam Baldock and the lively Nicky Maynard coming on for Matt Taylor and Carloton Cole, and the visitors looked a stronger attacking threat.

But it took a mistake by Michael Duff to let the visitors in, though, as the defender let the ball bounce and Kevin Nolan nipped in to lift the ball over Lee Grant.

Tomkins atoned for his first-half error to equalise in the 70th minute, from Nolan's free kick.

Burnley survived further scares after John Carew came off the bench to hang on to a point, although Clarets substitute Charlie Austin had a header saved late on.