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
This commit is contained in:
@@ -56,8 +56,11 @@ class XmlFormFieldWYSIWYGEditor extends XmlFormField
|
|||||||
* @return string
|
* @return string
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function render($value, $owner = null)
|
public function render($value = null, $owner = null)
|
||||||
{
|
{
|
||||||
|
if ($value === null) {
|
||||||
|
$value = '';
|
||||||
|
}
|
||||||
$value = ($value == '') ? '<br/>' : $value;
|
$value = ($value == '') ? '<br/>' : $value;
|
||||||
$html = "<textArea class='tmceEditor' id='form[" . $this->name . "]' name='form[" . $this->name . "]' >" . htmlentities($value,
|
$html = "<textArea class='tmceEditor' id='form[" . $this->name . "]' name='form[" . $this->name . "]' >" . htmlentities($value,
|
||||||
ENT_QUOTES, 'UTF-8') . "</textarea>";
|
ENT_QUOTES, 'UTF-8') . "</textarea>";
|
||||||
|
|||||||
Reference in New Issue
Block a user