Completed
Branch develop (0f69c7)
by
unknown
17:50
created
htdocs/core/modules/DolibarrModules.class.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2657,6 +2657,8 @@
 block discarded – undo
2657 2657
 		foreach ($fields as $field) {
2658 2658
 			$this->dictionaries['tab' . $field][] = $dictionaryArray[$field];
2659 2659
 		}
2660
-		if ($langs && !in_array($langs, $this->dictionaries[$langs])) $this->dictionaries['langs'][] = $langs;
2660
+		if ($langs && !in_array($langs, $this->dictionaries[$langs])) {
2661
+			$this->dictionaries['langs'][] = $langs;
2662
+		}
2661 2663
 	}
2662 2664
 }
Please login to merge, or discard this patch.