From fcde417c2a70d302634f8bfd57a0d47d1edf9629 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 13 Oct 2023 09:51:47 +0200 Subject: [PATCH] use modeltab --- code/SoftDeleteModelAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/SoftDeleteModelAdmin.php b/code/SoftDeleteModelAdmin.php index 50bf6ea..413a7f2 100644 --- a/code/SoftDeleteModelAdmin.php +++ b/code/SoftDeleteModelAdmin.php @@ -17,7 +17,7 @@ class SoftDeleteModelAdmin extends Extension protected function getSanistedModelClass() { - return str_replace('\\', '-', $this->owner->modelClass); + return str_replace('\\', '-', $this->owner->modelTab); } public function updateEditForm($form)