@@ -101,7 +101,7 @@ |
||
| 101 | 101 | function characterName($characterID) |
| 102 | 102 | { |
| 103 | 103 | $character = characterDetails($characterID); |
| 104 | - $name = (string)$character['name']; |
|
| 104 | + $name = (string) $character['name']; |
|
| 105 | 105 | if (null === $name || '' === $name) { // Make sure it's always set. |
| 106 | 106 | $url = "https://api.eveonline.com/eve/CharacterName.xml.aspx?ids={$characterID}"; |
| 107 | 107 | $xml = makeApiRequest($url); |