Completed
Branch develop (934a84)
by
unknown
16:31
created
htdocs/core/modules/DolibarrModules.class.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2660,6 +2660,8 @@
 block discarded – undo
2660 2660
 				$this->dictionaries['tab'.$field][] = $dictionaryArray[$field];
2661 2661
 			}
2662 2662
 		}
2663
-		if ($langs && !in_array($langs, $this->dictionaries[$langs])) $this->dictionaries['langs'][] = $langs;
2663
+		if ($langs && !in_array($langs, $this->dictionaries[$langs])) {
2664
+			$this->dictionaries['langs'][] = $langs;
2665
+		}
2664 2666
 	}
2665 2667
 }
Please login to merge, or discard this patch.