From 7bd49106512282f0aea19089838ccce9c22a262b Mon Sep 17 00:00:00 2001 From: Hector Cortez Date: Mon, 14 Mar 2011 21:34:27 +0000 Subject: [PATCH] Adjustment in the removal of a process. For change in the form of defining process connection --- gulliver/system/class.xmlform.php | 2 ++ workflow/engine/classes/class.processMap.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 088c72632..163783d0b 100644 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -2397,7 +2397,9 @@ class XmlForm_Field_Dropdown extends XmlForm_Field { { $result = array (); $r = 1; + if(! isset($owner->modeGrid)) $owner->modeGrid = ''; $this->modeGridDrop = $owner->modeGrid; + $this->mode = $this->modeForGrid; foreach ( $values as $v ) { $result [] = $this->render ( $v, $owner, '[' . $owner->name . '][' . $r . ']', $onlyValue, $r, $therow ); diff --git a/workflow/engine/classes/class.processMap.php b/workflow/engine/classes/class.processMap.php index 1bafc4e79..f32e22015 100644 --- a/workflow/engine/classes/class.processMap.php +++ b/workflow/engine/classes/class.processMap.php @@ -617,7 +617,7 @@ class processMap { * i recommend that a more general solution must be achieved to resolve * this issue in every model class, to prevent future problems. * */ - $oDbSource->remove($aRow ['DBS_UID']); + $oDbSource->remove($aRow ['DBS_UID'], $sProcessUID); $oDataset->next(); } //Delete the supervisors