Skip to content

Commit

Permalink
* some small undefined variable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Aug 28, 2017
1 parent fe8b0cd commit 27e4909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/pages/admin/notepad.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$_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
{
Expand Down

0 comments on commit 27e4909

Please sign in to comment.