From d7e796eea5567a3d98d3fc34b0bbdcf97c86a2cc Mon Sep 17 00:00:00 2001 From: Ferdinand Kuhl Date: Thu, 27 Jun 2024 21:33:46 +0200 Subject: [PATCH] one more try --- Classes/Domain/Model/AssetAttribute.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Domain/Model/AssetAttribute.php b/Classes/Domain/Model/AssetAttribute.php index 65326dc..2fe3eca 100644 --- a/Classes/Domain/Model/AssetAttribute.php +++ b/Classes/Domain/Model/AssetAttribute.php @@ -64,7 +64,7 @@ class AssetAttribute if (!$urlValue) { $urlValue = $this->value; } - $this->urlValue = \mb_substr($urlValue, 0, 250) ; + $this->urlValue = $urlValue; } public function initializeObject(): void @@ -75,7 +75,7 @@ class AssetAttribute \array_column($this->replacementMap, 'value'), $this->urlValue ); - $this->urlValue = \urlencode(\strtolower($this->urlValue)); + $this->urlValue = \mb_substr(\urlencode(\strtolower($this->urlValue)), 0, 250); } }