diff --git a/system/pages/admin/notepad.php b/system/pages/admin/notepad.php index 1767fffc..8e65c8a6 100644 --- a/system/pages/admin/notepad.php +++ b/system/pages/admin/notepad.php @@ -28,7 +28,7 @@ else $_content = $notepad_content; } -echo $twig->render('admin.notepad.html', array('content' => $_content)); +echo $twig->render('admin.notepad.html', array('content' => isset($_content) ? $_content : null)); class Notepad {