HOR-4547: Classic / Task / Properties / Case Labels

Warning: Declaration of XmlFormFieldTextareaPm::render($value, $owner) should be compatible with XmlFormField::render($value = NULL, $paramDummy2 = NULL) in /opt/processmaker/workflow/engine/classes/XmlFormFieldTextareaPm.php on line 86
Warning: Declaration of XmlFormFieldTextareaPm::renderGrid($owner, $values = NULL) should be compatible with XmlFormField::renderGrid($values = Array, $owner = NULL, $onlyValue = false, $therow = -1) in /opt/processmaker/workflow/engine/classes/XmlFormFieldTextareaPm.php on line 86
This commit is contained in:
Roly Rudy Gutierrez Pinto
2018-05-11 10:25:42 -04:00
parent 68b138fc9f
commit 78efa6afa8
2 changed files with 9 additions and 3 deletions

View File

@@ -384,8 +384,11 @@ class XmlFormField
* @param string values
* @return string
*/
public function renderGrid($values = array(), $owner = null, $onlyValue = false, $therow = -1)
public function renderGrid($values = null, $owner = null, $onlyValue = false, $therow = -1)
{
if ($values === null) {
$values = [];
}
$result = [];
$r = 1;
foreach ($values as $v) {

View File

@@ -23,7 +23,7 @@ class XmlFormFieldTextareaPm extends XmlFormField
* @param eter string owner
* @return string
*/
public function render($value = null, $owner)
public function render($value = null, $owner = null)
{
if ($this->showVars == 1) {
$this->process = G::replaceDataField($this->process, $owner->values);
@@ -53,8 +53,11 @@ class XmlFormFieldTextareaPm extends XmlFormField
* @param eter string owner
* @return string
*/
public function renderGrid($owner, $values = null)
public function renderGrid($owner = null, $values = null, $onlyValue = false, $therow = -1)
{
if ($values === null) {
$values = [];
}
$result = array();
$r = 1;
foreach ($values as $v) {