浏览代码

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

FIX: Contact type translation
Laurent Destailleur 4 年之前
父节点
当前提交
6ccec31fa0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      htdocs/core/class/commonobject.class.php

+ 2 - 0
htdocs/core/class/commonobject.class.php

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