From 09349b97c87420fbf0bd5c44e0012bbe8377eb0f Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Fri, 25 Oct 2024 13:29:41 +1300 Subject: [PATCH] API Update code to reflect changes in silverstripe/admin --- src/Admin/SubsiteAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Admin/SubsiteAdmin.php b/src/Admin/SubsiteAdmin.php index 612fd2d4..a3383e24 100644 --- a/src/Admin/SubsiteAdmin.php +++ b/src/Admin/SubsiteAdmin.php @@ -25,7 +25,7 @@ class SubsiteAdmin extends ModelAdmin public $showImportForm = false; - private static $tree_class = Subsite::class; + private static $model_class = Subsite::class; public function getEditForm($id = null, $fields = null) {