Lindsay Lohan's lawyer, Shawn Chapman Holley, filed an appeal late Friday afternoon against Judge Elden Fox's ruling that Lohan be held in jail without bail--and it worked, TMZ is reporting. Lohan could be a free woman in just a few hours.

Lohan was denied bail and taken into custody after breaking probation by failing a pair of drug tests following her release from rehab. Judge Elden Fox reportedly issued the order without hearing arguments from Lohan's lawyers.

Judge Patricia Schnegg, Assistant Supervising Judge for the Los Angeles County Criminal Courts, just reversed Judge Fox's ruling. According to her, his ruling goes against California law, which gives those charged with misdemeanor crimes the right to bail.

The judge set bail at $300,000.