Skip to content

Commit

Permalink
Merge b47b643 into 24c3a10
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravmuk committed Apr 29, 2020
2 parents 24c3a10 + b47b643 commit e000186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VWO.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ private function fetchFeatureEnabledData($campaignKey, $userId, $options)
// below condition says that if bucket is there and isFeatureEnabled is not present it means it will be feature rollout type campaign and return true
// if isFeatureEnabled is there and it must be true then result is true
// else return to false
$result['response'] = ((isset($variationData['bucketInfo']) && !isset($variationData['bucketInfo']['isFeatureEnabled'])) || (isset($variationData['bucketInfo']['isFeatureEnabled']) && $variationData['bucketInfo']['isFeatureEnabled']) == true) ? true : false;
$result['response'] = ((isset($variationData) && !isset($variationData['isFeatureEnabled'])) || (isset($variationData['isFeatureEnabled']) && $variationData['isFeatureEnabled']) == true) ? true : false;
}
return $result;
}
Expand Down

0 comments on commit e000186

Please sign in to comment.