always string in $sCode
This commit is contained in:
parent
1ff067d615
commit
7638a62ace
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue