The order to correct a code violation and the sanctions imposed by a municipality as the result of a finding of a code violation under this Division shall attach to the property as well as to the owner of the property, so that a finding of a code violation against one owner cannot be avoided by conveying or transferring the property to another owner. Any subsequent transferee or owner of property takes subject to the findings, decision and order of a hearing officer under this Division.
65 ILCS 5/11-31.1-12