Skip to content

Commit

Permalink
fix(test): test
Browse files Browse the repository at this point in the history
  • Loading branch information
softvar committed Jul 26, 2022
1 parent 27cf3ba commit b35450b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/VWO.php
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,11 @@ public function track($campaignKey = '', $userId = '', $goalIdentifier = '', arr
$revenueProps = [];
$result = [];
$batchEventData = [];
$eventProperties = CommonUtil::getValueFromOptions($options, 'eventProperties') || [];
$eventProperties = CommonUtil::getValueFromOptions($options, 'eventProperties');

if (!$eventProperties) {
$eventProperties = [];
}

foreach ($campaigns as $campaign) {
try {
Expand Down

0 comments on commit b35450b

Please sign in to comment.