to avoid warning
This commit is contained in:
parent
b7cdab5ed0
commit
8fa8c5eeb8
@ -488,6 +488,7 @@ function dol_fiche_head($links=array(), $active='0', $title='', $notab=0, $picto
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Define max of key (max may be higher than sizeof becaus of hole due to module disabling some tabs).
|
// Define max of key (max may be higher than sizeof becaus of hole due to module disabling some tabs).
|
||||||
|
$links=array();
|
||||||
$keys=array_keys($links);
|
$keys=array_keys($links);
|
||||||
if (sizeof($keys)) $maxkey=max($keys);
|
if (sizeof($keys)) $maxkey=max($keys);
|
||||||
else $maxkey=-1;
|
else $maxkey=-1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user