|
|
@@ -43,9 +43,7 @@ class OnKernelRequestPreRead implements EventSubscriberInterface
|
|
|
/** @var Access $access */
|
|
|
$access = $this->security->getUser();
|
|
|
if ($access) {
|
|
|
- $timeConstraintEnabled = (bool) StringsUtils::unquote(
|
|
|
- $this->requestStack->getMainRequest()->get('_time_constraint', true)
|
|
|
- );
|
|
|
+ $timeConstraintEnabled = (bool) $this->requestStack->getMainRequest()->get('_time_constraint', true);
|
|
|
|
|
|
if ($timeConstraintEnabled) {
|
|
|
// Configure les filtres pour prendre en compte les contraintes temporelles
|