diff --git a/conlite/includes/include.style_edit_form.php b/conlite/includes/include.style_edit_form.php index 4c6b271..8c59965 100644 --- a/conlite/includes/include.style_edit_form.php +++ b/conlite/includes/include.style_edit_form.php @@ -158,7 +158,7 @@ if (!$perm->have_perm_area_action($area, $action)) { if ($_REQUEST['action'] == $sActionEdit) { $sCode = getFileContent($sFilename, $path); } else { - $sCode = $_REQUEST['code']; + $sCode = empty($_REQUEST['code'])?'':$_REQUEST['code']; } $form = new UI_Table_Form("file_editor");