2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2024-05-22 03:09:13 +02:00
parent 0769696fa3
commit 2a8db2255d
3 changed files with 3 additions and 3 deletions

View File

@@ -2987,7 +2987,7 @@ function removeGlobalParenthesis($string)
/**
* Return array of Emojis for miscellaneous use.
*
* @return array Array of Emojis in hexadecimal
* @return array<string:array> Array of Emojis in hexadecimal
* @see getArrayOfEmoji()
*/
function getArrayOfEmojiBis()

View File

@@ -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<string:array> Array of Emojis in hexadecimal
* @see getArrayOfEmojiBis()
*/
function getArrayOfEmoji()

View File

@@ -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 '<tr class="oddeven"><td>'.$ent->getNomUrl(3).'</td>';