From 6f9146fcac70eda29d2aa932fbff8888a97ff50f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Wolda=C5=84ski?= Date: Wed, 10 May 2023 09:58:51 +0200 Subject: [PATCH] [FEATURE] Allow non cachable plugins to return null on empty --- Classes/ContentObject/JsonContentObject.php | 2 +- Classes/Utility/HeadlessUserInt.php | 82 +++++++++++++-------- 2 files changed, 54 insertions(+), 30 deletions(-) diff --git a/Classes/ContentObject/JsonContentObject.php b/Classes/ContentObject/JsonContentObject.php index 1555ad1b..14f29664 100755 --- a/Classes/ContentObject/JsonContentObject.php +++ b/Classes/ContentObject/JsonContentObject.php @@ -114,7 +114,7 @@ public function cObjGet(array $setup, string $addKey = ''): array $content[$theKey] = (bool)$content[$theKey]; } if ($theValue === 'USER_INT' || strpos((string)$content[$theKey], '