Skip to content

Commit

Permalink
Merge pull request #1 from tacman/tacman-fix-ticketid
Browse files Browse the repository at this point in the history
ticketid is a string, not an int
  • Loading branch information
tacman authored Jul 22, 2024
2 parents 4f98fde + 1710a93 commit 97b0fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 97b0fdf

Please sign in to comment.