diff --git a/conlite/includes/include.html_tpl_edit_form.php b/conlite/includes/include.html_tpl_edit_form.php
index d3a5346..59c6ddd 100644
--- a/conlite/includes/include.html_tpl_edit_form.php
+++ b/conlite/includes/include.html_tpl_edit_form.php
@@ -138,7 +138,7 @@ if (!$perm->have_perm_area_action($area, $action)) {
if ($_REQUEST['action'] == $sActionEdit) {
$sCode = getFileContent($sFilename, $path);
} else {
- $sCode = $_REQUEST['code']; # stripslashes is required here in case of creating a new file
+ $sCode = empty($_REQUEST['code'])?'':$_REQUEST['code'];
}
/* Try to validate html */