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); } /**