parent
9330814449
commit
69289df96e
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ class EventController extends Controller
|
||||||
if (strlen($location_lon) > 0) {
|
if (strlen($location_lon) > 0) {
|
||||||
$location_obj->lon = $location_lon;
|
$location_obj->lon = $location_lon;
|
||||||
}
|
}
|
||||||
$location_obj->slug = $location_obj->generateSlug($location->name,$em);
|
$location_obj->slug = $location_obj->generateSlug($location_obj->name,$em);
|
||||||
$em->persist($location_obj);
|
$em->persist($location_obj);
|
||||||
$em->flush();
|
$em->flush();
|
||||||
$entity->setLocation($location_obj);
|
$entity->setLocation($location_obj);
|
||||||
|
|
Reference in a new issue