Lindsay Lohan has been ordered to submit to random drug testing.

The 'Mean Girls' actress appeared in a Beverly Hills court today (24.05.10) for a probation review hearing, where she was told by Judge Marsha Revel she can remain out on bail, but only if she abstains from drinking alcohol, wears a SCRAM bracelet - which monitors alcohol consumption - and attends at least one alcohol education class a week.

According to gossip website TMZ, the judge also indicated the 23-year-old star must stay in the Los Angeles area, despite her being lined up to work on a movie in Texas.

A formal hearing to determine if Lindsay has violated her probation - which she was placed on following her second driving under the influence (DUI) conviction in 2007 - has been scheduled for July 6.

If she is found in breach of the terms, Lindsay - who is expected to face at least five drug tests before then - could be jailed for 180 days.

Lindsay was originally scheduled to appear in court last Thursday (20.05.10) but was stranded in Cannes, France, after claiming her passport had been stolen.