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)