Skip to content

Commit 2eeca4d

Browse files
authored
Merge pull request #183 from LazarDudic/master
sendNotificationCustom is checking empty('include_external_user_ids')
2 parents e37aaf4 + 3d46a5e commit 2eeca4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OneSignalClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ public function sendNotificationCustom($parameters = []){
388388
}
389389

390390
// Make sure to use included_segments
391-
if (empty($parameters['included_segments']) && empty($parameters['include_player_ids']) && empty('include_external_user_ids')) {
391+
if (empty($parameters['included_segments']) && empty($parameters['include_player_ids']) && empty($parameters['include_external_user_ids'])) {
392392
$parameters['included_segments'] = ['All'];
393393
}
394394

0 commit comments

Comments
 (0)