Merge pull request #8182 from laudeco/hotfix/bank_module

Bank module is not accessible (error 500) since 7.0.0
This commit is contained in:
Laurent Destailleur 2018-02-14 20:52:36 +01:00 committed by GitHub
commit 06357e62da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");