|
@@ -22,7 +22,9 @@ |
|
|
block discarded – undo |
|
22
|
22
|
print '<select name="aircraft_manufacturer" class="selectpicker" data-live-search="true">'; |
|
23
|
23
|
$Stats = new Stats(); |
|
24
|
24
|
$all_manufacturers = $Stats->getAllManufacturers(); |
|
25
|
|
- if (empty($all_manufacturers)) $all_manufacturers = $Spotter->getAllManufacturers(); |
|
|
25
|
+ if (empty($all_manufacturers)) { |
|
|
26
|
+ $all_manufacturers = $Spotter->getAllManufacturers(); |
|
|
27
|
+ } |
|
26
|
28
|
foreach($all_manufacturers as $all_manufacturer) |
|
27
|
29
|
{ |
|
28
|
30
|
if($manufacturer == ucwords($all_manufacturer['aircraft_manufacturer'])) |
Please login to merge, or discard this patch.