Merge pull request #14605 from Tim-Otte/fix-contact-type-translation

FIX: Contact type translation
This commit is contained in:
Laurent Destailleur 2020-09-02 18:09:37 +02:00 committed by GitHub
commit 6ccec31fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1303,6 +1303,8 @@ abstract class CommonObject
// phpcs:enable
global $langs, $conf;
$langs->loadLangs(array('bills', 'contracts', 'interventions', 'orders', 'projects', 'propal', 'ticket', 'agenda'));
$tab = array();
$sql = "SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position, tc.element";