diff --git a/src/db/MarkdownText.php b/src/db/MarkdownText.php index 37ec2d9..d60570f 100644 --- a/src/db/MarkdownText.php +++ b/src/db/MarkdownText.php @@ -57,7 +57,7 @@ public function ParseMarkdown($bCache = true, $strValue = '') return $this->parsedContent; } - $parsed = !empty($strValue) ? $strValue : $this->value; + $parsed = strval(!empty($strValue) ? $strValue : $this->value); $this->extend('onBeforeParseDown', $parsed);