From e62def4cc78630ff73439d5b927f865363a41aac Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Fri, 10 Oct 2014 11:12:41 -0400 Subject: [PATCH] BUG 15553 Error al agregar varios registros en una tabla PM SOLVED --- workflow/engine/controllers/pmTablesProxy.php | 3 ++- workflow/engine/xmlform/inputdocs/inputdocs_Edit.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/workflow/engine/controllers/pmTablesProxy.php b/workflow/engine/controllers/pmTablesProxy.php index 979bb16e1..543b47943 100755 --- a/workflow/engine/controllers/pmTablesProxy.php +++ b/workflow/engine/controllers/pmTablesProxy.php @@ -528,6 +528,7 @@ class pmTablesProxy extends HttpProxyController $toSave = false; } + $result = new stdclass(); if ($toSave) { $result->success = true; $result->message = G::LoadTranslation('ID_RECORD_SAVED_SUCCESFULLY'); @@ -610,7 +611,7 @@ class pmTablesProxy extends HttpProxyController require_once $sPath . $this->className . '.php'; G::auditLog("DeleteDataInPMTable", $table['ADD_TAB_NAME']." (".$table['ADD_TAB_UID'].") "); - + $this->success = $this->_dataDestroy( $httpData->rows ); $this->message = $this->success ? G::loadTranslation( 'ID_DELETED_SUCCESSFULLY' ) : G::loadTranslation( 'ID_DELETE_FAILED' ); } diff --git a/workflow/engine/xmlform/inputdocs/inputdocs_Edit.xml b/workflow/engine/xmlform/inputdocs/inputdocs_Edit.xml index 1f192985a..882ad19d7 100755 --- a/workflow/engine/xmlform/inputdocs/inputdocs_Edit.xml +++ b/workflow/engine/xmlform/inputdocs/inputdocs_Edit.xml @@ -27,7 +27,7 @@ - +