BUG 6828 "Request that the address and label of link fields in..." SOLVED

- Added validation for renderGrid()
* Available from version ProcessMaker-2.0.46
This commit is contained in:
Victor Saisa Lopez
2013-01-14 11:48:29 -04:00
parent bd09191d54
commit 0240d938f4

View File

@@ -2795,6 +2795,7 @@ class XmlForm_Field_Link extends XmlForm_Field
$owner,
$row
);
$row = $row + 1;
}
@@ -5489,7 +5490,15 @@ class xmlformTemplate extends Smarty
$aAux[] = '';
}
}
$result['form'][$k] = $form->fields[$k]->renderGrid( $aAux, $form );
switch ($v->type) {
case "link":
$result["form"][$k] = $form->fields[$k]->renderGrid($aAux, array(), $form);
break;
default:
$result["form"][$k] = $form->fields[$k]->renderGrid($aAux, $form);
break;
}
} else {
switch ($v->type) {
case "link":