|
|
|
@ -1621,6 +1621,7 @@ class Agenda |
|
|
|
|
|
|
|
|
|
|
|
$em = Database::getManager(); |
|
|
|
$em = Database::getManager(); |
|
|
|
$agendaCollectiveInvitations = api_get_configuration_value('agenda_collective_invitations'); |
|
|
|
$agendaCollectiveInvitations = api_get_configuration_value('agenda_collective_invitations'); |
|
|
|
|
|
|
|
$inviteeRepo = null; |
|
|
|
if ($agendaCollectiveInvitations) { |
|
|
|
if ($agendaCollectiveInvitations) { |
|
|
|
$inviteeRepo = $em->getRepository('ChamiloCoreBundle:AgendaEventInvitee'); |
|
|
|
$inviteeRepo = $em->getRepository('ChamiloCoreBundle:AgendaEventInvitee'); |
|
|
|
} |
|
|
|
} |
|
|
|
|