Replaced use of htmlentities with dol_htmlentities

This commit is contained in:
Marcos García de La Fuente 2014-01-05 21:08:37 +01:00
parent e49f94d02e
commit e7d2765fc6

View File

@ -968,8 +968,8 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
$appli='Dolibarr';
if (!empty($conf->global->MAIN_APPLICATION_TITLE)) $appli=$conf->global->MAIN_APPLICATION_TITLE;
if ($title) print '<title>'.$appli.' - '.htmlentities($title).'</title>';
else print "<title>".$appli."</title>";
if ($title) print '<title>'.dol_htmlentities($appli.' - '.$title).'</title>';
else print "<title>".dol_htmlentities($appli)."</title>";
print "\n";
if (! defined('DISABLE_JQUERY') && ! $disablejs && $conf->use_javascript_ajax)