diff --git a/conlite/includes/functions.lay.php b/conlite/includes/functions.lay.php index 8c0a8f6..69bd193 100644 --- a/conlite/includes/functions.lay.php +++ b/conlite/includes/functions.lay.php @@ -63,6 +63,7 @@ function layEditLayout($idlay, $name, $description, $code) { set_magic_quotes_gpc($description); set_magic_quotes_gpc($code); **/ + $code = addslashes($code); if (strlen(trim($name)) == 0) { $name = i18n('-- Unnamed Layout --'); }