diff --git a/statistics-airline.php b/statistics-airline.php index 95085dcd..425e64be 100644 --- a/statistics-airline.php +++ b/statistics-airline.php @@ -64,7 +64,7 @@ function drawChart() { print ''.$i.''; print ''; print ''."\n"; print 'Click to see airline information'."\n"; print ''."\n"; - } elseif (!$globalIVAO && @getimagesize('images/airlines/'.$spotter_item['airline_icao'].'.png') || @getimagesize($globalURL.'/images/airlines/'.$spotter_item['airline_icao'].'.png')) + } elseif ((!isset($globalIVAO) || !$globalIVAO) && (@getimagesize('images/airlines/'.$spotter_item['airline_icao'].'.png') || @getimagesize($globalURL.'/images/airlines/'.$spotter_item['airline_icao'].'.png'))) { print ''."\n"; print 'Click to see airline information'."\n";