(a) For violations of any provision of section 12-78, the owner shall be subject, upon the first offense, to the issuance of a warning from the animal control officer or magistrate court, and, upon the second offense, to penalties as provided in section 1-7. (b) For violations of any provisions of section 12-79, the owner shall be subject to penalties as provided in section 1-7.