From 6f08e5544c159706b652e1caffbdffaaef2d25c0 Mon Sep 17 00:00:00 2001 From: Paula Quispe Date: Thu, 16 Aug 2018 11:13:35 -0400 Subject: [PATCH] HOR-4812 --- gulliver/system/class.publisher.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gulliver/system/class.publisher.php b/gulliver/system/class.publisher.php index 8ba2f9797..6b365191c 100644 --- a/gulliver/system/class.publisher.php +++ b/gulliver/system/class.publisher.php @@ -225,8 +225,10 @@ class Publisher //Asegurese de que no entre cuando $Part['Template']=="grid" //de hecho soo deberia usarse cuando $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_FORM->values = G::array_merges( + ['__DYNAFORM_OPTIONS' => isset($Part['Data']['__DYNAFORM_OPTIONS']) ? $Part['Data']['__DYNAFORM_OPTIONS'] : []], + $G_FORM->values + ); if (isset( $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