Skip to content

Commit

Permalink
Merge pull request #56 from stephenmcm/patch-1
Browse files Browse the repository at this point in the history
Fix $optInResponseCodes use instead of  $optOutResponseCodes
  • Loading branch information
Damian Mooyman authored Mar 19, 2017
2 parents 32dd61c + f50eb53 commit 9fa39d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/DynamicCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public function run($url)
if (is_array($optInResponseCodes) && !in_array($responseCode, $optInResponseCodes)) {
return;
}
if (is_array($optOutResponseCodes) && in_array($responseCode, $optInResponseCodes)) {
if (is_array($optOutResponseCodes) && in_array($responseCode, $optOutResponseCodes)) {
return;
}

Expand Down

0 comments on commit 9fa39d2

Please sign in to comment.