Skip to content

Commit

Permalink
invalid check
Browse files Browse the repository at this point in the history
  • Loading branch information
seba-aln committed Nov 5, 2024
1 parent 65b687c commit 8ce45c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PubNub/Endpoints/FileSharing/PublishFileMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected function customParams()
$params['ttl'] = $this->ttl;
$params['store'] = $this->shouldStore ? 1 : 0;

if ($this->customMessageType) {
if (isset($this->customMessageType)) {
$params['custom_message_type'] = $this->customMessageType;
}

Expand Down

0 comments on commit 8ce45c6

Please sign in to comment.