Skip to content

Commit

Permalink
fix(IRTP): minor fix to support opt-out option
Browse files Browse the repository at this point in the history
  • Loading branch information
tulsi91 authored and KaiSchwarz-cnic committed Apr 1, 2020
1 parent 1378c1b commit fc6772c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registrars/ispapi/ispapi.php
Expand Up @@ -2214,7 +2214,7 @@ function ispapi_SaveContactDetails($params)
], ispapi_config($origparams));
//AFNIC TLDs => pm, tf, wf, yt, fr, re
if (!preg_match("/AFNIC/i", $queryDomainOptions_response["PROPERTY"]["REPOSITORY"][0])) {
if ($params["irtpOptOut"]) {
if ($origparams["irtpOptOut"]) { //HM-735
$command["X-REQUEST-OPT-OUT-TRANSFERLOCK"] = 1;
} else {
$command["X-REQUEST-OPT-OUT-TRANSFERLOCK"] = 0;
Expand Down

0 comments on commit fc6772c

Please sign in to comment.