Los Angeles, California (CNN) -- A judge decides Friday if actress Lindsay Lohan will continue her drug rehab or go to jail again for violating her probation with a failed drug test.
Lohan acknowledged in a series of Twitter messages in September that she failed the test and has a drug problem.
"Substance abuse is a disease, which unfortunately doesn't go away over night," Lohan wrote. "I am working hard to overcome it and am taking positive steps".
Los Angeles Superior Court Judge Elden Fox sent Lohan to jail four weeks ago, but another judge overturned the decision to deny the actress bail later that day.
Lohan, freed on $300,000 bail after 14 hours in jail, voluntarily checked into the Betty Ford Center in Rancho Mirage, California, three days later.
Defense lawyer Shawn Chapman Holley's challenge at Friday's hearing will be to convince Judge Fox that Lohan should continue in the substance abuse rehab program instead of serving a jail term for violating probation.
It was not clear if Lohan would attend the hearing or remain at the Betty Ford Center. Holley told CNN late Thursday that an online report that Lohan had left rehab was "totally untrue".
The Beverly Hills courthouse has been the scene of several Lohan appearances over the past year related to violations of her probation for a 2007 drunken driving conviction.
In July, Judge Marsha Revel ordered the actress to serve 90 days in jail and 90 days in rehab for violating her probation.
The sheriff released her from jail after just 13 days because of overcrowding and her rehab stint at Ronald Reagan UCLA Medical Center ended after 23 days.
"She has learned her lesson," Holley told Judge Fox as he agreed to let her out of rehab early on August 25.
CNN