2
0
forked from Wavyzz/dolibarr

Update functions.lib.php

This commit is contained in:
ptibogxiv
2019-08-13 17:59:19 +02:00
committed by GitHub
parent 8198276d64
commit 93d64bb84e

View File

@@ -1130,7 +1130,7 @@ function dol_get_fiche_head($links = array(), $active = '', $title = '', $notab
if ((is_numeric($active) && $i == $active) || (! empty($links[$i][2]) && ! is_numeric($active) && $active == $links[$i][2]))
{
// If active tab is already present
if ($i > $limittoshow) $limittoshow--;
if ($i >= $limittoshow) $limittoshow--;
}
}