rattacher correctement le user au rest timer (ref #4)
This commit is contained in:
parent
f1cff030d0
commit
af191e50cf
|
@ -61,7 +61,7 @@ class RestController extends AbstractFOSRestController
|
||||||
if(!$data||$data->getDateend()) {
|
if(!$data||$data->getDateend()) {
|
||||||
$data = new Tallyday();
|
$data = new Tallyday();
|
||||||
$data->setDateof(new \DateTime("now"));
|
$data->setDateof(new \DateTime("now"));
|
||||||
$data->setUser($this->getUser());
|
$data->setUser($user);
|
||||||
$data->setValidateuser(false);
|
$data->setValidateuser(false);
|
||||||
$data->setValidatemaster(false);
|
$data->setValidatemaster(false);
|
||||||
$data->setIsbreakday(false);
|
$data->setIsbreakday(false);
|
||||||
|
|
Loading…
Reference in New Issue