Update footer.php

updated validation