From 66039795b1059ff23d8211c52f2bdf93bb26ed7d Mon Sep 17 00:00:00 2001 From: Lukas Erni Date: Tue, 28 May 2024 15:24:17 +0200 Subject: [PATCH] get_class() without args is deprecated with php83 --- src/FolderDropdownField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FolderDropdownField.php b/src/FolderDropdownField.php index 318d5ff..e237454 100644 --- a/src/FolderDropdownField.php +++ b/src/FolderDropdownField.php @@ -36,7 +36,7 @@ public function setLastFolderID($folderID) { $request = Controller::curr()->getRequest(); $session = $request->getSession(); - $session->set(get_class() . '.FolderID', $folderID); + $session->set($this::class . '.FolderID', $folderID); } /**