diff options
author | Mark Wells <mark@freeside.biz> | 2016-10-06 15:55:10 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-10-06 16:33:17 -0700 |
commit | c42bf39feed32a9d0ca83944284463a148dbfed6 (patch) | |
tree | faa5f67b0f8bdf9b8b7dd2e3a137031fb9314c3e /ng_selfservice | |
parent | dbff6cc9f027e23599ecc35e7092583da4be0b77 (diff) |
fix prospect creation from EUS API, #39776
Diffstat (limited to 'ng_selfservice')
-rw-r--r-- | ng_selfservice/coverage_post.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ng_selfservice/coverage_post.php b/ng_selfservice/coverage_post.php index 657a2ffb8..c45700221 100644 --- a/ng_selfservice/coverage_post.php +++ b/ng_selfservice/coverage_post.php @@ -10,7 +10,7 @@ $xml = file_get_contents('php://input'); $doc = new SimpleXMLElement($xml); $cd = $doc->CustomerDetails; if ($DEBUG) { - error_log(var_dump($cd)); + error_log(print_r($cd),1); } // State and Country are names rather than codes, but we fix that on the other @@ -35,9 +35,9 @@ $prospect = Array(); foreach ($map_fields as $k => $v) { $prospect[$k] = (string)($cd->$v); } -error_log(var_dump($prospect)); +error_log(print_r($prospect),1); $freeside = new FreesideSelfService(); $result = $freeside->new_prospect($prospect); -error_log(var_dump($result)); +error_log(print_r($result),1); ?> |