always string in $sCode
Dieser Commit ist enthalten in:
Ursprung
1ff067d615
Commit
7638a62ace
|
@ -138,7 +138,7 @@ if (!$perm->have_perm_area_action($area, $action)) {
|
||||||
if ($_REQUEST['action'] == $sActionEdit) {
|
if ($_REQUEST['action'] == $sActionEdit) {
|
||||||
$sCode = getFileContent($sFilename, $path);
|
$sCode = getFileContent($sFilename, $path);
|
||||||
} else {
|
} 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 */
|
/* Try to validate html */
|
||||||
|
|
Laden…
In neuem Issue referenzieren