Patronizing a prostitute is a Class 4 felony, unless committed within 1,000 feet of real property comprising a school, in which case it is a Class 3 felony. A person convicted of a second or subsequent violation of this Section, or of any combination of such number of convictions under this Section and Sections 11-14 (prostitution), 11-14.1 (solicitation of a sexual act), 11-14.3 (promoting prostitution), 11-14.4 (promoting juvenile prostitution), 11-15 (soliciting for a prostitute), 11-15.1 (soliciting for a juvenile prostitute), 11-16 (pandering), 11-17 (keeping a place of prostitution), 11-17.1 (keeping a place of juvenile prostitution), 11-18.1 (patronizing a juvenile prostitute), 11-19 (pimping), 11-19.1 (juvenile pimping or aggravated juvenile pimping), or 11-19.2 (exploitation of a child) of this Code, is guilty of a Class 3 felony. If the court imposes a fine under this subsection (b), it shall be collected and distributed to the Specialized Services for Survivors of Human Trafficking Fund in accordance with Section 5-9-1.21 of the Unified Code of Corrections.
720 ILCS 5/11-18