Merged in dheeyi/processmaker/PM-2139 (pull request #1884)

PM-2139 0017111: Change error message when deleting variable. Use DynaForm name, not its UID.
This commit is contained in:
Julio Cesar Laura Avendaño
2015-04-20 22:23:02 -04:00
2 changed files with 10 additions and 1 deletions

View File

@@ -33,6 +33,14 @@ class pmDynaform
}
}
public function getDynaformTitle($idDynaform)
{
$d = new Dynaform();
$d->setDynUid($idDynaform);
$titleDynaform = $d->getDynTitle();
return $titleDynaform;
}
public function getDynaform()
{
if (!isset($this->fields["CURRENT_DYNAFORM"])) {