]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/UserController.php
Update translations
[airbundle] / Controller / UserController.php
index 7d38c0285dd9ba3092ef63e9b977f8d646733c86..3ed64c79e50e7da3a77a905ff30c27a726879074 100644 (file)
@@ -149,7 +149,7 @@ class UserController extends DefaultController {
 
                //Fetch calendar
                //TODO: highlight with current session route parameter
-               $calendar = $doctrine->getRepository(Session::class)->fetchUserCalendarByDatePeriod($this->translator, $period, $isGuest?$id:null, $request->get('session'));
+               $calendar = $doctrine->getRepository(Session::class)->fetchUserCalendarByDatePeriod($this->translator, $period, $isGuest?$id:null, $request->get('session'), $request->getLocale());
 
                //Fetch locations
                //XXX: we want to display all active locations anyway