From b9d799ee16616b34aab42dae3c9b77d94356274a Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Fri, 25 Oct 2024 13:32:54 +1300 Subject: [PATCH] API Update code to reflect changes in silverstripe/admin --- code/ReportAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ReportAdmin.php b/code/ReportAdmin.php index 0037e7ed..87dc981b 100644 --- a/code/ReportAdmin.php +++ b/code/ReportAdmin.php @@ -44,7 +44,7 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider private static $template_path = null; // defaults to (project)/templates/email - private static $tree_class = Report::class; + private static $model_class = Report::class; private static $url_handlers = array( 'show/$ReportClass/$Action' => 'handleAction'