Fix error reported by scrutinizer
This commit is contained in:
parent
5c7d2ffdc2
commit
ee32cce33a
@ -303,6 +303,7 @@ function showMyBalance($holiday, $user_id)
|
||||
$alltypeleaves=$holiday->getTypes(1,-1); // To have labels
|
||||
|
||||
$out='';
|
||||
$nb_holiday=0;
|
||||
$typeleaves=$holiday->getTypes(1,1);
|
||||
foreach($typeleaves as $key => $val)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user