rattacher correctement le user au rest timer (ref #4)

This commit is contained in:
afornerot 2022-03-14 12:47:03 +01:00
parent f1cff030d0
commit af191e50cf
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class RestController extends AbstractFOSRestController
if(!$data||$data->getDateend()) {
$data = new Tallyday();
$data->setDateof(new \DateTime("now"));
$data->setUser($this->getUser());
$data->setUser($user);
$data->setValidateuser(false);
$data->setValidatemaster(false);
$data->setIsbreakday(false);