From fda948a950c0945ae54e3fe2a20d47d89bbd48cb Mon Sep 17 00:00:00 2001 From: Roly Rudy Gutierrez Pinto Date: Fri, 11 May 2018 11:40:36 -0400 Subject: [PATCH] HOR-4547: Classic / Output Document / Edit PHP Warning: Declaration of XmlFormFieldWYSIWYGEditor::render($value, $owner = NULL) should be compatible with XmlFormField::render($value = NULL, $paramDummy2 = NULL) in /srv/http/processmaker/gulliver/system/class.wysiwygEditor.php on line 240 --- gulliver/system/class.wysiwygEditor.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulliver/system/class.wysiwygEditor.php b/gulliver/system/class.wysiwygEditor.php index 77f0fdcdc..0236cbdbc 100644 --- a/gulliver/system/class.wysiwygEditor.php +++ b/gulliver/system/class.wysiwygEditor.php @@ -56,8 +56,11 @@ class XmlFormFieldWYSIWYGEditor extends XmlFormField * @return string * */ - public function render($value, $owner = null) + public function render($value = null, $owner = null) { + if ($value === null) { + $value = ''; + } $value = ($value == '') ? '
' : $value; $html = "";