fix error in latest release

This commit is contained in:
De Coninck Laurent 2018-02-12 15:47:04 +01:00
parent 71c968b0b1
commit 6f7d6f977b

View File

@ -655,7 +655,7 @@ class Tva extends CommonObject
* @param string $morecss More CSS * @param string $morecss More CSS
* @return string Chaine with URL * @return string Chaine with URL
*/ */
function getNomUrl($withpicto=0, $option='', $notooltip=0, morecss='') function getNomUrl($withpicto=0, $option='', $notooltip=0, $morecss='')
{ {
global $langs, $conf; global $langs, $conf;
@ -669,6 +669,9 @@ class Tva extends CommonObject
$linkclose=''; $linkclose='';
if (empty($notooltip)) if (empty($notooltip))
{ {
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))
{ {
$label=$langs->trans("ShowMyObject"); $label=$langs->trans("ShowMyObject");