diff --git a/src/includes/markup.php b/src/includes/markup.php index dd616c3..0a13701 100644 --- a/src/includes/markup.php +++ b/src/includes/markup.php @@ -5,6 +5,9 @@ require_once(MTTINC. 'parsedown/Parsedown.php'); function noteMarkup($note) { + if ($note === null) { + $note = ''; + } if (Config::get('markup') == 'v1') { return mttMarkup_v1($note); }