Referee Mick Russell booked a player twice but failed to send him off as Huddersfield drew with Yorkshire rivals Sheffield Wednesday.
He showed Wednesday midfielder Jeremy Helan two yellow cards in the first half but let him play on, despite protests from Huddersfield's players.
The home side could have secured the win in the final minute but substitute James Vaughan flashed a volley wide.
The result leaves Town without a win in nine but the Owls are unbeaten in four.
The visitors, who moved out of the bottom three with three wins from their last three matches, will be the happier of the two sides, following the mistake by Russell.
Helan, on loan from Manchester City, received his first booking after eight minutes and was shown a second yellow on 26 minutes, which should have meant the visitors playing for over an hour with just 10 men.
The Frenchman also went closest to opening the scoring in the first half but goalkeeper Alex Smithies saved well with his feet.
Town created their first chance a minute before the break when Simon Church had a shot saved by Chris Kirkland.
Michail Antonio and substitute Mamady Sidibe both had chances for Dave Jones' side while Sidibe also forced Smithies into an excellent save, with just minutes remaining.
Huddersfield manager Simon Grayson: "The lineman should be helping out. He's not done it deliberately, but you can't make major mistakes like that.
"He's put (Michail) Antonio's number in his book, but he was nowhere near the incident."
Sheffield Wednesday boss Dave Jones: "I don't know about a first booking, it was a penalty. That's the controversy.
"Helan has been clipped and he's not the type of lad to dive. I think we should have won the game, that's what I'm perplexed about.
"We should have had a penalty and we had the chance towards the end with Sidibe's header."
Live Text Commentary
Full Time The match has reached full-time.89:59
James Vaughan produces a right-footed shot from deep inside the penalty area which goes wide of the right-hand post.88:44
Free kick awarded for a foul by Rhys McCabe on Sean Scannell. Adam Clayton crosses the ball in from the free kick, clearance made by Miguel Llera. Headed effort from deep inside the area by Murray Wallace misses to the left of the goal.87:50
Corner taken by Rhys McCabe from the right by-line, Mamady Sidibe takes a shot. Brilliant save by Alex Smithies.87:14 Substitution
Substitution (Sheff Wed) makes a substitution, with Jermaine Johnson coming on for Michail Antonio.85:58
Adam Clayton gives away a free kick for an unfair challenge on Mamady Sidibe. Chris Kirkland takes the free kick.83:37
Mamady Sidibe produces a left-footed shot from the edge of the box and misses to the right of the goal.81:07
Jeremy Helan is caught offside. Indirect free kick taken by Alex Smithies.80:03
Adam Hammill takes the outswinging corner, Miguel Llera makes a clearance.78:08
Miguel Llera delivers the ball from the free kick right-footed from right channel, clearance made by James Vaughan. Rhys McCabe takes the inswinging corner, save by Alex Smithies.78:08 Booking
Booking The referee shows Paul Dixon a yellow card for unsporting behaviour.78:00
Free kick awarded for an unfair challenge on Jeremy Helan by Paul Dixon.77:26
Outswinging corner taken right-footed by Adam Clayton, clearance by Miguel Llera.74:34
Centre by Kieran Lee.72:57
Rhys McCabe takes a shot from long distance which goes wide of the right-hand upright.71:14
Free kick awarded for an unfair challenge on Murray Wallace by Mamady Sidibe. Alex Smithies takes the indirect free kick.69:42 Substitution
Substitution Jack Hunt leaves the field to be replaced by Paul Dixon.64:01 Substitution
Substitution (Sheff Wed) makes a substitution, with Mamady Sidibe coming on for Gary Madine.62:32
Outswinging corner taken right-footed by Adam Clayton from the right by-line, Jermaine Beckford takes a shot from just inside the penalty box which clears the crossbar.61:01 Substitution
Substitution James Vaughan joins the action as a substitute, replacing Simon Church.
Substitution Sean Scannell comes on in place of Chris Atkinson.59:25
Joel Lynch fouled by Gary Madine, the ref awards a free kick. Alex Smithies takes the free kick.58:41
Keith Southern takes a shot. Save by Chris Kirkland.58:07
Rhys McCabe concedes a free kick for a foul on Simon Church. Direct free kick taken by Adam Clayton.53:59
Unfair challenge on David Prutton by Jermaine Beckford results in a free kick. Rhys McCabe crosses the ball from the free kick right-footed from left channel, clearance made by Simon Church.53:32
A cross is delivered by Michail Antonio.51:37
The referee blows for offside. Indirect free kick taken by Anthony Gerrard.49:40
Free kick awarded for a foul by Gary Madine on Jack Hunt. Indirect free kick taken by Alex Smithies.45:52
Shot by Michail Antonio from deep inside the penalty area misses to the right of the goal.45:01
The referee starts the second half.45:00 +2:26 Half time
Half Time The players leave the pitch at half time.45:00 +0:11
The free kick is swung in right-footed by Adam Clayton, clearance by Miguel Llera. Adam Clayton takes the outswinging corner, clearance made by Miguel Llera.45:00 +0:11 Booking
Booking Reda Johnson receives a caution.45:00 +0:08
Reda Johnson concedes a free kick for a foul on Jack Hunt.43:45
Simon Church takes a shot. Save made by Chris Kirkland.42:52
Jermaine Beckford gives away a free kick for an unfair challenge on Miguel Llera. Indirect free kick taken by Chris Kirkland.42:03
Jeremy Helan is caught offside. Indirect free kick taken by Alex Smithies.38:54
Free kick awarded for an unfair challenge on Reda Johnson by Jermaine Beckford. Free kick taken by Chris Kirkland.37:19
Kieran Lee has an effort at goal from outside the penalty box missing to the wide right of the goal.35:24
The referee blows for offside. Free kick taken by Alex Smithies.33:12
Miguel Llera fouled by Jermaine Beckford, the ref awards a free kick. Direct free kick taken by Lewis Buxton.31:24
Jack Hunt concedes a free kick for a foul on Jeremy Helan. Lewis Buxton crosses the ball in from the free kick.30:32
Effort from just outside the area by David Prutton goes over the bar.29:22
Reda Johnson restarts play with the free kick.29:22 Booking
Booking Adam Hammill goes into the book for unsporting behaviour.29:11
Adam Hammill gives away a free kick for an unfair challenge on Jeremy Helan.24:13
Adam Hammill fouled by Jeremy Helan, the ref awards a free kick. Adam Hammill crosses the ball in from the free kick, clearance made by David Prutton.23:00 Booking
Booking Jeremy Helan is booked.21:49 Booking
Booking Jack Hunt is cautioned.18:13
Inswinging corner taken left-footed by Miguel Llera from the right by-line, Adam Clayton makes a clearance.16:16
The ball is delivered by Jeremy Helan.14:52
David Prutton takes a shot. Save by Alex Smithies. Corner taken by Rhys McCabe, free kick awarded for an unfair challenge on Joel Lynch by Anthony Gardner. Alex Smithies takes the direct free kick.13:14
Inswinging corner taken from the left by-line by Rhys McCabe, Alex Smithies fouled by Miguel Llera, the ref awards a free kick. Indirect free kick taken by Alex Smithies.8:30
Indirect free kick taken by Alex Smithies.8:30 Booking
Booking Michail Antonio goes into the referee's book for unsporting behaviour.8:08
Jeremy Helan takes a shot. Alex Smithies makes a save.6:58
Jeremy Helan crosses the ball.4:23
Unfair challenge on Adam Clayton by Lewis Buxton results in a free kick. Adam Clayton restarts play with the free kick.1:56
Joel Lynch challenges Gary Madine unfairly and gives away a free kick. Kieran Lee crosses the ball in from the free kick, clearance by Anthony Gerrard.0:00
The match has kicked off.
Live data and text provided by our data suppliers