diff --git a/lrscan.php b/lrscan.php index c4f4d3c05..8948de2d8 100644 --- a/lrscan.php +++ b/lrscan.php @@ -1,4 +1,4 @@ -fields; + if ($defM['mines'] === null) + { + $defM['mines'] = 0; + } + $defF = $resultSDb->fields; + if ($defF['fighters'] === null) + { + $defF['fighters'] = 0; + } + $port_type = $sectorinfo['port_type']; $has_planet = $result3->RecordCount(); $has_mines = number_format($defM['mines'], 0, $langvars['local_number_dec_point'], $langvars['local_number_thousands_sep']);