Fix error reported by scrutinizer

This commit is contained in:
Laurent Destailleur 2017-09-04 12:23:44 +02:00
parent 5c7d2ffdc2
commit ee32cce33a

View File

@ -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)
{