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 = "";