Skip to content

Commit

Permalink
Replaced use of htmlentities with dol_htmlentities
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgdf committed Jan 5, 2014
1 parent e49f94d commit e7d2765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/main.inc.php
Expand Up @@ -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)
Expand Down

0 comments on commit e7d2765

Please sign in to comment.