I corrected

This commit is contained in:
Paula V. Quispe
2015-04-24 19:48:34 -04:00
parent 38169a8792
commit d6a5668285

View File

@@ -22,12 +22,11 @@ try {
throw (new Exception("function ws_open() is not defined. File wsClient.php is missing"));
}
$postForm = $_POST["form"];
$oForm = new Form("{processUid}" . "/" . "{dynaformUid}", PATH_DYNAFORM);
$oForm->validatePost();
ws_open();
$result = ws_newCase("{processUid}", "{taskUid}", convertFormToWSObjects($postForm));
$result = ws_newCase("{processUid}", "{taskUid}", convertFormToWSObjects($_POST["form"]));
if ($result->status_code == 0) {
$caseId = $result->caseId;