]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/SessionController.php
Restrict selectable locations for users without admin role
[airbundle] / Controller / SessionController.php
index 26ceb94a268ad5424e056a00a521a49e8aeea2e1..30a0a730bd786e587dd58d8e7de4ccb18d8166ac 100644 (file)
@@ -464,7 +464,7 @@ class SessionController extends DefaultController {
                        new \DateInterval('P1D'),
                        //End with next sunday and 4 weeks
                        new \DateTime(
-                               $this->isGranted('IS_AUTHENTICATED_REMEMBERED')?'Monday this week + 4 week':'Monday this week + 2 week'
+                               $this->isGranted('IS_AUTHENTICATED_REMEMBERED')?'Monday this week + 3 week':'Monday this week + 2 week'
                        )
                );
 
@@ -686,7 +686,7 @@ class SessionController extends DefaultController {
                        new \DateInterval('P1D'),
                        //End with next sunday and 4 weeks
                        new \DateTime(
-                               $this->isGranted('IS_AUTHENTICATED_REMEMBERED')?'Monday this week + 4 week':'Monday this week + 2 week'
+                               $this->isGranted('IS_AUTHENTICATED_REMEMBERED')?'Monday this week + 3 week':'Monday this week + 2 week'
                        )
                );