Update index.php

Corrected code to check that the untappd BeerID is set. If it isn't it skips the whole section and just returns a 0 rating image.