From 1710a93ccc4ffd8b6c44c3cb07207f980b350380 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Mon, 22 Jul 2024 07:40:28 -0400 Subject: [PATCH] ticketid is a string, not an int --- src/Uploader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Uploader.php b/src/Uploader.php index 233f94e..b8d544b 100644 --- a/src/Uploader.php +++ b/src/Uploader.php @@ -135,7 +135,7 @@ protected function sendFile($filename, $params) $uploadResponse['originalsecret'] = (string)$xml->photoid['originalsecret']; } if (isset($xml->ticketid)) { - $uploadResponse['ticketid'] = (int)$xml->ticketid; + $uploadResponse['ticketid'] = (string)$xml->ticketid; } if (isset($xml->err)) { $uploadResponse['code'] = (int)$xml->err['code'];