Update _footer.php

changed post_call variable initialization condition as per the requirement