htmlentities() to s()

This commit is contained in:
stronk7 2006-04-11 16:09:52 +00:00
parent 3725cc8a58
commit 1b1858d260
15 changed files with 21 additions and 21 deletions

View file

@ -4091,7 +4091,7 @@ function helpbutton ($page, $title='', $module='moodle', $image=true, $linktext=
$linkobject .= '</span>';
if ($text) {
$url = '/help.php?module='. $module .'&amp;text='. htmlentities(urlencode($text));
$url = '/help.php?module='. $module .'&amp;text='. s(urlencode($text));
} else {
$url = '/help.php?module='. $module .'&amp;file='. $page .'.html';
}