mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-16644 removing stripslahses() and friends
This commit is contained in:
parent
decf9db153
commit
4370f063b3
@ -247,7 +247,7 @@
|
||||
$value .= $datarow;
|
||||
next($datarows);
|
||||
}
|
||||
$value = rawurlencode(stripslashes($value));
|
||||
$value = rawurlencode($value);
|
||||
$id = scorm_insert_track($USER->id, $scorm->id, $sco->id, $attempt, $element, $value);
|
||||
}
|
||||
}
|
||||
|
@ -288,7 +288,7 @@ function handle_questions_media(&$questions, $path, $courseid) {
|
||||
|
||||
// results are first written into string (and then to a file)
|
||||
$count++;
|
||||
echo "<hr /><p><b>$count</b>. ".stripslashes($question->questiontext)."</p>";
|
||||
echo "<hr /><p><b>$count</b>. ".$question->questiontext."</p>";
|
||||
$expout = $this->writequestion( $question , null, true, $path) . "\n";
|
||||
$expout = $this->presave_process( $expout );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user