From 269f51fef91f4ed46bde7cc30b5fa306d2086102 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Mon, 6 Nov 2023 11:22:31 +0100 Subject: [PATCH] Added default value for IsPreview view matcher MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Adam Wójs --- src/lib/MVC/Symfony/Matcher/ContentBased/IsPreview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/MVC/Symfony/Matcher/ContentBased/IsPreview.php b/src/lib/MVC/Symfony/Matcher/ContentBased/IsPreview.php index 18a326c7f6..c9221cc466 100644 --- a/src/lib/MVC/Symfony/Matcher/ContentBased/IsPreview.php +++ b/src/lib/MVC/Symfony/Matcher/ContentBased/IsPreview.php @@ -18,7 +18,7 @@ */ final class IsPreview implements ViewMatcherInterface { - private bool $isPreview; + private bool $isPreview = true; /** * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException