diff --git a/libraries/Maniaplanet/DedicatedServer/Xmlrpc/Request.php b/libraries/Maniaplanet/DedicatedServer/Xmlrpc/Request.php index 435d8f2..560175a 100644 --- a/libraries/Maniaplanet/DedicatedServer/Xmlrpc/Request.php +++ b/libraries/Maniaplanet/DedicatedServer/Xmlrpc/Request.php @@ -90,7 +90,7 @@ private static function encodeValue($v, $escape = true) return '' . $v . ''; case 'string': case 'NULL': - if (!$v) { + if (!$v && $v != "0") { return ''; } return '' . self::escape($v, $escape) . '';