Redmond O'Neal has been arrested again, Access Hollywood has confirmed.
He was in court for a drug related probation violation allegation.
O'Neal was not granted bail and appeared in court on Tuesday, where he gave the judge a handwritten note, which was not read aloud.
He was ordered to return to an in-custody drug treatment center at the Impact Drug and Alcohol Treatment Center in Pasadena for 30 days and is due back in court in 30 days for a progress report.
"The defense, the prosecution, and the treatment team all agreed with the court's order," O'Neal's attorney Richard Pintal told Access.
O'Neal was previously incarcerated at the Pitchess Detention Center in Castaic, Calif. for a January 2008 drug arrest and a probation violation in September 2009.
Related Content from AccessHollywood.com:
VIEW THE PHOTOS: Celebs In Rehab
PLAY IT NOW: Alana Stewart: 'I Haven't Fully Processed' Farrah's Death (August 11, 2009)
PLAY IT NOW: Farrah Fawcett's Funeral (June 30, 2009)