From cdc55ffa485d23d3364860408a35f6c5c8becd1e Mon Sep 17 00:00:00 2001 From: Beatrycze Volk Date: Thu, 22 Jun 2023 11:23:26 +0200 Subject: [PATCH] [BUGFIX] Fix error Illegal string offset 'id' (#971) --- Classes/ExpressionLanguage/DocumentTypeFunctionProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/ExpressionLanguage/DocumentTypeFunctionProvider.php b/Classes/ExpressionLanguage/DocumentTypeFunctionProvider.php index 0cb17d095..c2ca37301 100644 --- a/Classes/ExpressionLanguage/DocumentTypeFunctionProvider.php +++ b/Classes/ExpressionLanguage/DocumentTypeFunctionProvider.php @@ -196,7 +196,7 @@ protected function loadDocument($requestData, int $pid) } } } else { - $this->logger->error('Invalid UID "' . $requestData['id'] . '" or PID "' . $pid . '" for document loading'); + $this->logger->error('Empty UID or invalid PID "' . $pid . '" for document loading'); } } }