Skip to content
Snippets Groups Projects
Commit f06e1b2c authored by Jeremy Guiselin's avatar Jeremy Guiselin
Browse files

Fix purchase

parent cb1a3fa8
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ class LeagueOnDeviceRepository extends EntityRepository ...@@ -42,6 +42,7 @@ class LeagueOnDeviceRepository extends EntityRepository
$lod = new LeagueOnDevice(); $lod = new LeagueOnDevice();
$lod->setDevice($device); $lod->setDevice($device);
$lod->setLeague($league); $lod->setLeague($league);
$lod->setStatus(LeagueOnDevice::STATUS_UNLOCK);
$em->persist($lod); $em->persist($lod);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment