Former child star Matthew Underwood has avoided a spell behind bars after proving he had completed the conditions of his probation in front of a judge on Friday (18Jan13).

The Zoey 101 star's probation officer urged lawmakers to send the actor straight to jail, claiming he allegedly failed a drug test and ignored terms of his probation, related to a drug arrest back in 2012.

But a judge in the case has dismissed the charges, according to Tmz.com, after Underwood showed proof he's clean and sober and living up to the terms of his probation.

He is still on probation for another four months.