From 7d48c641ecba825a6a18cf8705710391b658d694 Mon Sep 17 00:00:00 2001 From: Ycarus Date: Tue, 28 Jul 2015 09:02:11 +0200 Subject: [PATCH] Fix display of airline logo in statistic airline --- statistics-airline.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statistics-airline.php b/statistics-airline.php index 425e64be..f2b53adc 100644 --- a/statistics-airline.php +++ b/statistics-airline.php @@ -67,7 +67,7 @@ function drawChart() { if (isset($globalIVAO) && $globalIVAO && (@getimagesize($globalURL.'/images/airlines/'.$airline_item['airline_icao'].'.gif') || @getimagesize('images/airlines/'.$airline_item['airline_icao'].'.gif'))) { print $globalURL.'/images/airlines/'.$airline_item['airline_icao'].'.gif'; - } elseif (@getimagesize($globalURL.'/images/airlines/'.$airline_item['airline_icao'].'.png')) + } elseif (@getimagesize('images/airlines/'.$airline_item['airline_icao'].'.png') || @getimagesize($globalURL.'/images/airlines/'.$airline_item['airline_icao'].'.png')) { print $globalURL.'/images/airlines/'.$airline_item['airline_icao'].'.png'; } else {