fixed issue with footer menus that occurs if the menu variable is empty

Fix in response to issue #85