always string in $sCode

This commit is contained in:
o.pinke 2023-02-19 10:30:38 +01:00
parent 33dcc58748
commit 90dbc01650

View file

@ -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");