That was fast.

Just before midnight on Friday, Lindsay Lohan was released from jail. The actress, who confessed a week ago on Twitter that she was ready to "face the consequences" for her latest slip-up, spent little more than 13 hours locked up in Lynwood, Calif., according to, after flunking a court-ordered drug test (in which cocaine was reportedly detected) in violation of her probation terms.

Her previous stint behind bars began July 20, and she was freed on Aug. 2, after serving 14 days (shortened from 90); she went straight into rehab but her original three-month stay was also shortened.

Earlier on Friday, Lohan had been denied bail in Beverly Hills Superior Court by Judge Elden Fox, but his ruling was reversed later in the day by Judge Patricia Schnegg after Shawn Chapman Holley, the actress' lawyer, appealed for her client's right to bail.

After the new ruling, Lohan was permitted to post $300,000 bail. Now, she must be fitted within 24 hours with yet another "SCRAM" bracelet (her third) to monitor any alcohol intake.

And the habitual night owl is also ordered to quit her favorite haunts on the club scene: the new ruling requires her to stay out of any establishments where "alcohol is the chief item for sale."