(CNN)Emily Lavelle and her friends were bored after school one day and decided to call the suicide prevention hotline, listed on the back of their middle school student ID cards.
Students called a suicide hotline listed on their ID cards. It was sex hotline instead.
What they discovered on the other end of the line was something very different.
Emily had unintentionally called a sex hotline. The phone number was listed as a resource on the student ID cards issued by New Vista Middle School in Lancaster, California.
Emily told her mother, Janene, about the discovery Monday after being picked up from an after-school program.
"First thing I did was call the number, and sure enough, it was a sex line," Lavelle told CNN. "I was pretty shocked -- it was kind of disbelief."
Lavelle said she wanted to call the school district right away, but since it was after hours, she decided to post a picture of the back of the ID to Facebook, where it went viral.
Facebook took down the post showing the back of the card and offending number Wednesday. Lavelle said she received a message saying the post "goes against our community standard on adult sexual solicitation."
Lavelle told CNN she has not heard personally from the school district, but the superintendent of the Lancaster School District issued a statement apologizing for the error.