diff --git a/htdocs/core/lib/functions2.lib.php b/htdocs/core/lib/functions2.lib.php index f1bfd2d36f4..cf7c7eca861 100644 --- a/htdocs/core/lib/functions2.lib.php +++ b/htdocs/core/lib/functions2.lib.php @@ -2987,7 +2987,7 @@ function removeGlobalParenthesis($string) /** * Return array of Emojis for miscellaneous use. * - * @return array Array of Emojis in hexadecimal + * @return array Array of Emojis in hexadecimal * @see getArrayOfEmoji() */ function getArrayOfEmojiBis() diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index b887d65e0fc..c4e85660a6a 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -56,7 +56,7 @@ if (!empty($_SERVER['MAIN_SHOW_TUNING_INFO'])) { /** * Return array of Emojis. We can't move this function inside a common lib because we need it for security before loading any file. * - * @return array Array of Emojis in hexadecimal + * @return array Array of Emojis in hexadecimal * @see getArrayOfEmojiBis() */ function getArrayOfEmoji() diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index 775118f050e..78de0b7436c 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -1299,7 +1299,7 @@ if (!$variants || getDolGlobalString('VARIANT_ALLOW_STOCK_MOVEMENT_ON_VARIANT_PA foreach ($lines as $line) { $ent = new Entrepot($db); $ent->fetch($line['fk_entrepot']); - + if (!isModEnabled("multicompany") || in_array($ent->entity, $visibleWarehouseEntities)) { // Display only warehouses from our entity and entities sharing stock with actual entity print ''.$ent->getNomUrl(3).'';