TEENAGER Ryan MacMillan pleaded guilty to possessing cannabis.
The 18-year-old admitted having the class B drug on him in Fareham.
MacMillan, from Fairfield Avenue, Fareham, also pleaded guilty to a charge of failing to surrender to bail.
He was given a 12-month conditional discharge by Fareham magistrates.
MacMillan was ordered to pay £40 in court costs.
An order was made for the drugs to be forfeited and destroyed.