diff --git a/gramps/gui/plug/_dialogs.py b/gramps/gui/plug/_dialogs.py index c6e41664965..00c76ba15a2 100644 --- a/gramps/gui/plug/_dialogs.py +++ b/gramps/gui/plug/_dialogs.py @@ -260,11 +260,10 @@ def run_plugin(self, pdata): return if pdata.ptype == REPORT: - active_handle = self.uistate.get_active("Person") report( self.state, self.uistate, - self.state.db.get_person_from_handle(active_handle), + self.uistate.get_active("Person"), getattr(mod, pdata.reportclass), getattr(mod, pdata.optionclass), pdata.name,