Merged in bugfix/HOR-4873 (pull request #6625)

HOR-4873

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Paula Quispe
2018-09-14 14:48:46 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -225,8 +225,10 @@ class Publisher
//Asegurese de que no entre cuando $Part['Template']=="grid" //Asegurese de que no entre cuando $Part['Template']=="grid"
//de hecho soo deberia usarse cuando $Part['Template']=="xmlform" //de hecho soo deberia usarse cuando $Part['Template']=="xmlform"
if ((($this->publishType == 'dynaform') && $Part['Template'] == "xmlform") || ($Part['Template'] == "xmlform")) { if ((($this->publishType == 'dynaform') && $Part['Template'] == "xmlform") || ($Part['Template'] == "xmlform")) {
$G_FORM->values = G::array_merges( array ('__DYNAFORM_OPTIONS' => isset( $Part['Data']['__DYNAFORM_OPTIONS'] ) ? $Part['Data']['__DYNAFORM_OPTIONS'] : '' $G_FORM->values = G::array_merges(
), $G_FORM->values ); ['__DYNAFORM_OPTIONS' => isset($Part['Data']['__DYNAFORM_OPTIONS']) ? $Part['Data']['__DYNAFORM_OPTIONS'] : []],
$G_FORM->values
);
if (isset( $G_FORM->nextstepsave )) { if (isset( $G_FORM->nextstepsave )) {
switch ($G_FORM->nextstepsave) { switch ($G_FORM->nextstepsave) {
// this condition validates if the next step link is configured to Save and Go the next step or show a prompt // this condition validates if the next step link is configured to Save and Go the next step or show a prompt