Skip to content

Commit 1d80f22

Browse files
authored
Update CustomEntityWidget.php
1 parent e76a1c3 commit 1d80f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Block/Set/Widget/CustomEntityWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ private function getWidgetPagerBlockName()
585585
public function decodeConditions(string $encodedConditions): array
586586
{
587587
try {
588-
$conditions = $this->serializer->unserialize(htmlspecialchars_decode($encodedConditions));
588+
$conditions = $this->conditionsHelper->decode(htmlspecialchars_decode($encodedConditions));
589589
return is_array($conditions) ? $conditions : [];
590590
} catch (\InvalidArgumentException $exception) {
591591
/** @var array{exception:\Throwable, encoded_conditions:string, uri:string} $context */

0 commit comments

Comments
 (0)