From ebbdc02d6794d25e697a8e5d42c588ed3f5ff608 Mon Sep 17 00:00:00 2001 From: Konrad Michalik Date: Fri, 8 Nov 2024 13:28:27 +0100 Subject: [PATCH] fix: return typecasting --- Classes/Utility/ContentUtility.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Utility/ContentUtility.php b/Classes/Utility/ContentUtility.php index dcc0cca..e1d9cdf 100644 --- a/Classes/Utility/ContentUtility.php +++ b/Classes/Utility/ContentUtility.php @@ -230,7 +230,7 @@ public static function getExtensionRecord(?string $table, ?int $uid): array|bool if (!$table && !$uid) { return false; } - return (bool)BackendUtility::getRecord($table, $uid); + return BackendUtility::getRecord($table, $uid); } public static function clearStatusOfExtensionRecords(string $table, int $status): void