A judge has admonished Lindsay Lohan and told her she cannot have parties while under house arrest.
Los Angeles Superior Court Judge Stephanie Sautner said she did not think the Mean Girls actress had violated her probation by testing positive for alcohol during a recent test.
Judge Sautner said the court record is ambiguous about whether or not Lindsay was ordered to refrain from drinking.
The 24-year-old had been ordered to appear in court for a possible probation violation on her 2007 drink-driving case.
Lindsay is currently under house arrest for violating her probation by taking a necklace without permission roughly three weeks after being released from court-ordered rehab.
Judge Sautner said the actress can only have one friend over to her house at a time. She set another hearing for July 21.
Lohan tearfully hugged her lawyer, Shawn Holley, after the hearing.
Earlier, she told Judge Sautner she wanted to put her court troubles behind her. "Do you want to get on with your life? Tell me," said the judge. "Yes, I do," Lohan replied. It was the only time she spoke during the hearing.
Some of the parties at Lohan's home in the Venice neighbourhood of Los Angeles have been photographed by paparazzi.
"Don't give people a reason to hate you," Judge Sautner told her. "Don't do stupid things that fly in the face of the court's order."