From 27e490912bf85361eb67f0be7522d715a17cffb0 Mon Sep 17 00:00:00 2001 From: slawkens1 Date: Mon, 28 Aug 2017 20:20:42 +0200 Subject: [PATCH] * some small undefined variable fix --- system/pages/admin/notepad.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {