[svn r13344] Changed document filename generation to stick to normal new documents rules

skala
Yannick Warnier 17 years ago
parent 8e90cfef28
commit c38444934c
  1. 4
      main/newscorm/learnpath.class.php

@ -3965,7 +3965,9 @@ class learnpath {
$dir = '/'; $dir = '/';
} }
$title = replace_dangerous_char($_POST['title']); //stripslashes before calling replace_dangerous_char() because $_POST['title']
//is already escaped twice when it gets here
$title = replace_dangerous_char(stripslashes($_POST['title']));
$filename = $title; $filename = $title;
$content = $_POST['content_lp']; $content = $_POST['content_lp'];

Loading…
Cancel
Save