From 5c046c25094a0caaf90f912dd8fc17efac6fb3f2 Mon Sep 17 00:00:00 2001 From: Ortwin Pinke Date: Wed, 18 Aug 2021 14:00:49 +0200 Subject: [PATCH] rm magic quote func --- conlite/includes/functions.lay.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conlite/includes/functions.lay.php b/conlite/includes/functions.lay.php index f717268..8c0a8f6 100644 --- a/conlite/includes/functions.lay.php +++ b/conlite/includes/functions.lay.php @@ -58,10 +58,11 @@ function layEditLayout($idlay, $name, $description, $code) { $author = "".$auth->auth["uname"].""; $description = (string) stripslashes($description); + /** set_magic_quotes_gpc($name); set_magic_quotes_gpc($description); set_magic_quotes_gpc($code); - + **/ if (strlen(trim($name)) == 0) { $name = i18n('-- Unnamed Layout --'); }