mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
htmlentities() to s()
This commit is contained in:
parent
3725cc8a58
commit
1b1858d260
15 changed files with 21 additions and 21 deletions
|
@ -4091,7 +4091,7 @@ function helpbutton ($page, $title='', $module='moodle', $image=true, $linktext=
|
|||
$linkobject .= '</span>';
|
||||
|
||||
if ($text) {
|
||||
$url = '/help.php?module='. $module .'&text='. htmlentities(urlencode($text));
|
||||
$url = '/help.php?module='. $module .'&text='. s(urlencode($text));
|
||||
} else {
|
||||
$url = '/help.php?module='. $module .'&file='. $page .'.html';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue