From c50874ea5de72e4e8a89874fcfef1efe288fa0e6 Mon Sep 17 00:00:00 2001 From: Chemaclass Date: Tue, 14 Jan 2025 14:30:31 +0100 Subject: [PATCH] feat: allow returning string on getCurrentEntryId() uuid/ulid are string based not int --- src/app/Library/CrudPanel/Traits/Read.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Library/CrudPanel/Traits/Read.php b/src/app/Library/CrudPanel/Traits/Read.php index 301e5b387d..fa30de949d 100644 --- a/src/app/Library/CrudPanel/Traits/Read.php +++ b/src/app/Library/CrudPanel/Traits/Read.php @@ -15,7 +15,7 @@ trait Read /** * Find and retrieve the id of the current entry. * - * @return int|bool The id in the db or false. + * @return int|string|bool The id in the db or false. */ public function getCurrentEntryId() {