diff --git a/src/utils/Utils.php b/src/utils/Utils.php index 2995fa8b..b9f3a859 100644 --- a/src/utils/Utils.php +++ b/src/utils/Utils.php @@ -711,6 +711,7 @@ class Utils{ public static function writeLong($value){ $x = ""; + $value = (string) $value; if(!is_float($value)){ if(strval($value[0] == null ? '' : $value[0]) === "-"){ $negative = true;