forked from Wavyzz/dolibarr
Fix phan
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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>';
|
||||
|
||||
Reference in New Issue
Block a user