Skip to content
Snippets Groups Projects
Commit 8fa8c5ee authored by Philippe Grand's avatar Philippe Grand
Browse files

to avoid warning

parent b7cdab5e
No related branches found
No related tags found
No related merge requests found
...@@ -488,6 +488,7 @@ function dol_fiche_head($links=array(), $active='0', $title='', $notab=0, $picto ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment