This commit is contained in:
Paula Quispe
2018-09-14 09:43:24 -04:00
parent f8470c5aa1
commit f64867aca5

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