Skip to content

Commit

Permalink
use modeltab
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Oct 13, 2023
1 parent 47631ba commit fcde417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/SoftDeleteModelAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fcde417

Please sign in to comment.