From ad93151ee20516b1018392df2368016b4873db13 Mon Sep 17 00:00:00 2001 From: Tomasz Kryszan Date: Tue, 7 Nov 2023 15:00:14 +0100 Subject: [PATCH] Fixed ImageCompositeCriterion validation --- .../Criterion/Image/AbstractImageCompositeCriterion.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/contracts/Repository/Values/Content/Query/Criterion/Image/AbstractImageCompositeCriterion.php b/src/contracts/Repository/Values/Content/Query/Criterion/Image/AbstractImageCompositeCriterion.php index 2b7264ae29..f3b43d1e99 100644 --- a/src/contracts/Repository/Values/Content/Query/Criterion/Image/AbstractImageCompositeCriterion.php +++ b/src/contracts/Repository/Values/Content/Query/Criterion/Image/AbstractImageCompositeCriterion.php @@ -75,10 +75,7 @@ protected function validate( $notSupportedCriteria = array_diff( array_keys($data), - array_merge( - $supportedCriteria, - ['fieldDefIdentifier'] - ) + $supportedCriteria ); if (!empty($notSupportedCriteria)) {