From 71471a054d3c86f49afd9985928651bf6b79d47d Mon Sep 17 00:00:00 2001 From: Tim Otte Date: Tue, 1 Sep 2020 16:53:42 +0200 Subject: [PATCH] Loaded the required translations --- htdocs/core/class/commonobject.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 0d0a81a5192..a088ae6beb9 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -1297,6 +1297,8 @@ abstract class CommonObject // phpcs:enable global $langs, $conf; + $langs->loadLangs(array('bills', 'contracts', 'interventions', 'orders', 'projects', 'propal', 'ticket')); + $tab = array(); $sql = "SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position, tc.element";