projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fix to #73185, discovered via #71513
[freeside.git]
/
ng_selfservice
/
coverage_post.php
diff --git
a/ng_selfservice/coverage_post.php
b/ng_selfservice/coverage_post.php
index
657a2ff
..
c457002
100644
(file)
--- 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) {
$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
}
// 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);
}
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);
$freeside = new FreesideSelfService();
$result = $freeside->new_prospect($prospect);
-error_log(
var_dump($result)
);
+error_log(
print_r($result),1
);
?>
?>