From 5142d5b631dc8186eaeb792cea1f4f69c6151144 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Wed, 13 Feb 2019 13:43:59 +0100 Subject: [PATCH] Fix also in binding page --- htdocs/accountancy/class/accountingjournal.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/accountancy/class/accountingjournal.class.php b/htdocs/accountancy/class/accountingjournal.class.php index 1b82fc88bd2..b4ef9781aa2 100644 --- a/htdocs/accountancy/class/accountingjournal.class.php +++ b/htdocs/accountancy/class/accountingjournal.class.php @@ -227,7 +227,7 @@ class AccountingJournal extends CommonObject if (! empty($this->code)) $label .= '
'.$langs->trans('Code') . ': ' . $this->code; if (! empty($this->label)) - $label .= '
'.$langs->trans('Label') . ': ' . $this->label; + $label .= '
'.$langs->trans('Label') . ': ' . $langs->transnoentities($this->label); if ($moretitle) $label.=' - '.$moretitle; $linkclose=''; @@ -254,7 +254,7 @@ class AccountingJournal extends CommonObject } $label_link = $this->code; - if ($withlabel) $label_link .= ' - ' . $this->label; + if ($withlabel) $label_link .= ' - ' . $langs->transnoentities($this->label); $result .= $linkstart; if ($withpicto) $result.=img_object(($notooltip?'':$label), ($this->picto?$this->picto:'generic'), ($notooltip?(($withpicto != 2) ? 'class="paddingright"' : ''):'class="'.(($withpicto != 2) ? 'paddingright ' : '').'classfortooltip"'), 0, 0, $notooltip?0:1);