Merged in darojas/processmaker (pull request #408)
Se ajusta retorno en el metodo post de output documents. Se ajusta class.pmScript incluyendo una validacion para definir "T_DOC_COMMENT".
This commit is contained in:
@@ -154,7 +154,9 @@ class PMScript
|
||||
if (!defined("T_ML_COMMENT")) {
|
||||
define("T_ML_COMMENT", T_COMMENT);
|
||||
} else {
|
||||
define("T_DOC_COMMENT", T_ML_COMMENT);
|
||||
if (!defined("T_DOC_COMMENT")) {
|
||||
define("T_DOC_COMMENT", T_ML_COMMENT);
|
||||
}
|
||||
}
|
||||
|
||||
$script = "<?php " . $sScript;
|
||||
|
||||
@@ -269,7 +269,7 @@ class OutputDocument
|
||||
}
|
||||
}
|
||||
$g->sessionVarRestore();
|
||||
$response = $this->getCasesOutputDocument($applicationUid, $userUid, $sDocUID);
|
||||
$response = $this->getCasesOutputDocument($applicationUid, $userUid, $aFields['APP_DOC_UID']);
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
|
||||
Reference in New Issue
Block a user