Minor fix in one charset-related test
[plcapi.git] / src / Server.php
index 40afa9b..8a378c3 100644 (file)
@@ -457,8 +457,7 @@ class Server
             if (!in_array($reqEncoding, array('UTF-8', 'US-ASCII')) && !XMLParser::hasEncoding($data)) {
                 if ($reqEncoding == 'ISO-8859-1') {
                     $data = utf8_encode($data);
-                }
-                else {
+                } else {
                     if (extension_loaded('mbstring')) {
                         $data = mb_convert_encoding($data, 'UTF-8', $reqEncoding);
                     } else {