From 85f66e413ebda747c81a7f9209b21df25d357547 Mon Sep 17 00:00:00 2001 From: Isaac Flores Date: Mon, 18 May 2009 20:00:36 +0200 Subject: [PATCH] [svn r20794] minor - logic changes - replace COURSEMANAGER by COURSEMANAGERLOWSECURITY in document tool - (partial FS#3909) --- main/document/create_document.php | 4 ++-- main/document/edit_document.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/main/document/create_document.php b/main/document/create_document.php index 4bd9c190b7..036ce1a261 100644 --- a/main/document/create_document.php +++ b/main/document/create_document.php @@ -1,4 +1,4 @@ -validate()) { $filename = replace_accents($values['filename']); $texte = $values['content']; - $texte=Security::remove_XSS($texte,COURSEMANAGER); + $texte=Security::remove_XSS($texte,COURSEMANAGERLOWSECURITY); $title = $values['filename']; $extension = 'html'; if (!strstr($texte, '/css/frames.css')) { diff --git a/main/document/edit_document.php b/main/document/edit_document.php index a63c27d7a6..9ef3f54d5f 100644 --- a/main/document/edit_document.php +++ b/main/document/edit_document.php @@ -1,4 +1,4 @@ -