diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 7122e763..e1be5fef 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -889,10 +889,8 @@ function printHelpLink($entry, $number, $module='', $scope='') { if (is_file("./help.php")) $helpPath = ""; $title = $entry['Headline']; $message = $entry['Text']; - // if help message contains special characters then point to help page - if (!(strpos($message, '"') === false) || !(strpos($message, "'") === false) || !(strpos($message, "\n") === false)) { - $message = _('Please click on the icon to view the help page.'); - } + // replace special characters + $message = str_replace(array("'", '"', "\n"), array("\\'", '"', ''), $message); echo "";