mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
Merged param fixes from stable, even though they were already here :-)
This commit is contained in:
parent
27b219f16c
commit
fc64d5cf2c
8
help.php
8
help.php
@ -16,8 +16,8 @@
|
||||
|
||||
require_once('config.php');
|
||||
|
||||
$file = optional_param('file', '',PARAM_FILE);
|
||||
$text = optional_param('text', 'No text to display',PARAM_CLEAN);
|
||||
$file = optional_param('file', '', PARAM_FILE);
|
||||
$text = optional_param('text', 'No text to display', PARAM_CLEAN);
|
||||
$module = optional_param('module', 'moodle', PARAM_ALPHAEXT);
|
||||
|
||||
print_header();
|
||||
@ -113,9 +113,7 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
echo '<p>';
|
||||
echo clean_text($text);
|
||||
echo '</p>';
|
||||
echo '<p>'.s($text).'</p>'; // This param was already cleaned
|
||||
$helpfound = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user