From 3d46a5ee55d7a4d234dbf0a5473fd7c1cc159ab3 Mon Sep 17 00:00:00 2001 From: Lazar Dudic Date: Thu, 28 Sep 2023 15:46:33 +0200 Subject: [PATCH] Fix sendNotificationCustom $parameters['include_external_user_ids'] is not used --- src/OneSignalClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OneSignalClient.php b/src/OneSignalClient.php index 1a18adf..a9bae1a 100644 --- a/src/OneSignalClient.php +++ b/src/OneSignalClient.php @@ -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']; }