Skip to content

Commit

Permalink
Merge pull request #10 from jap/patch-1
Browse files Browse the repository at this point in the history
fix X-Acelle-Customer-Id default value
  • Loading branch information
bigio authored Dec 7, 2023
2 parents f6bbdb4 + 587c398 commit 7498a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Esp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -664,8 +664,8 @@ sub esp_acelle_check {
return;
}

$cid = $pms->get("X-Acelle-Customer-Id", 0);
return if not defined $cid;
$cid = $pms->get("X-Acelle-Customer-Id", undef);
return if not $cid;

return _hit_and_tag($self, $pms, $cid, 'ACELLE', 'Acelle', 'ACELLEID', $opts);
}
Expand Down

0 comments on commit 7498a38

Please sign in to comment.