|
@@ -979,9 +979,9 @@ |
|
|
block discarded – undo |
|
979
|
979
|
$url = "https://api.eveonline.com/corp/StarbaseList.xml.aspx?keyID={$keyID}&vCode={$vCode}"; |
|
980
|
980
|
$xml = makeApiRequest($url); |
|
981
|
981
|
foreach ($xml->result->rowset->row as $tower) { |
|
982
|
|
- $typeID = (int)$tower->attributes()->typeID; |
|
983
|
|
- $locationID = (int)$tower->attributes()->locationID; |
|
984
|
|
- if ($locationID === (int)$systemID) { |
|
|
982
|
+ $typeID = (int) $tower->attributes()->typeID; |
|
|
983
|
+ $locationID = (int) $tower->attributes()->locationID; |
|
|
984
|
+ if ($locationID === (int) $systemID) { |
|
985
|
985
|
if ($typeID === 12235 || $typeID === 20059 || $typeID === 20060 || $typeID === 27539 || $typeID === 27607 || $typeID === 27610 || $typeID === 27532 || $typeID === 27591 || $typeID === 27594 || $typeID === 27530 || $typeID === 27589 || $typeID === 27592) { |
|
986
|
986
|
return '1'; |
|
987
|
987
|
} |
Please login to merge, or discard this patch.