Skip to content

Commit

Permalink
Merge pull request #183 from LazarDudic/master
Browse files Browse the repository at this point in the history
sendNotificationCustom is checking empty('include_external_user_ids')
  • Loading branch information
berkayk authored Feb 9, 2024
2 parents e37aaf4 + 3d46a5e commit 2eeca4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OneSignalClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public function sendNotificationCustom($parameters = []){
}

// Make sure to use included_segments
if (empty($parameters['included_segments']) && empty($parameters['include_player_ids']) && empty('include_external_user_ids')) {
if (empty($parameters['included_segments']) && empty($parameters['include_player_ids']) && empty($parameters['include_external_user_ids'])) {
$parameters['included_segments'] = ['All'];
}

Expand Down

0 comments on commit 2eeca4d

Please sign in to comment.