Skip to content

Commit

Permalink
Merge pull request #927 from marcosgdf/holidays-bug
Browse files Browse the repository at this point in the history
Fixed bug with holidays log
  • Loading branch information
Juanjo Menent committed May 6, 2013
2 parents 192ef56 + d063590 commit a53e412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/holiday/fiche.php
Expand Up @@ -380,7 +380,7 @@
$newSolde = $soldeActuel - ($nbJour*$cp->getConfCP('nbHolidayDeducted'));

// On ajoute la modification dans le LOG
$cp->addLogCP($userID,$cp->fk_user, $langs->trans('Event').': '.$langs->transnoentitiesnoconv("Holidays"),$newSolde);
$cp->addLogCP($user->id,$cp->fk_user, $langs->trans('Event').': '.$langs->transnoentitiesnoconv("Holidays"),$newSolde);

// Mise à jour du solde
$cp->updateSoldeCP($cp->fk_user,$newSolde);
Expand Down

0 comments on commit a53e412

Please sign in to comment.