From b6ba2b8b277f649209051759a6e81e4d79f9d246 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:14:41 +1300 Subject: [PATCH] API Update code to reflect changes in silverstripe/admin (#606) --- 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) {