rm magic quote func
Dieser Commit ist enthalten in:
Ursprung
4094a4ee3e
Commit
5c046c2509
|
@ -58,10 +58,11 @@ function layEditLayout($idlay, $name, $description, $code) {
|
||||||
$author = "".$auth->auth["uname"]."";
|
$author = "".$auth->auth["uname"]."";
|
||||||
$description = (string) stripslashes($description);
|
$description = (string) stripslashes($description);
|
||||||
|
|
||||||
|
/**
|
||||||
set_magic_quotes_gpc($name);
|
set_magic_quotes_gpc($name);
|
||||||
set_magic_quotes_gpc($description);
|
set_magic_quotes_gpc($description);
|
||||||
set_magic_quotes_gpc($code);
|
set_magic_quotes_gpc($code);
|
||||||
|
**/
|
||||||
if (strlen(trim($name)) == 0) {
|
if (strlen(trim($name)) == 0) {
|
||||||
$name = i18n('-- Unnamed Layout --');
|
$name = i18n('-- Unnamed Layout --');
|
||||||
}
|
}
|
||||||
|
|
Laden…
In neuem Issue referenzieren