From e0fa12b72920d7a7cc374bed72ca901fa598fa4f Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Fri, 23 Dec 2011 07:33:28 +0000 Subject: [PATCH] Fixed a crash in dump_ordinance() where I forgot to remove a variable at line 607/ svn: r18650 --- src/plugins/webreport/NarrativeWeb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index b6cf6cea6..0a7ee3a3f 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -604,7 +604,7 @@ class BasePage(object): trow = Html("tr") + ( Html("td", " ", class_ = "ColumnType", inline = True), Html("td", _("LDS Ordinance"), class_ = "ColumnAttribute", inline = True), - Html("td", self.dump_ordinance(self.dbase_, family, "Family"), class_ = "ColumnValue") + Html("td", self.dump_ordinance(family, "Family"), class_ = "ColumnValue") ) table += trow @@ -1035,7 +1035,7 @@ class BasePage(object): (_("Date"), "ColumnDate", _dd.display(evt.get_date_object()) ), (_("Place"), "ColumnPlace", place_hyper) ] - def dump_ordinance(self, ldsobj, LDSSealedType = "Person"): + def dump_ordinance(self, ldsobj, LDSSealedType): """ will dump the LDS Ordinance information for either a person or a family ... @@ -2032,7 +2032,7 @@ class BasePage(object): section += Html("h4", _("Latter-Day Saints/ LDS Ordinance"), inline = True) # ump individual LDS ordinance list - section += self.dump_ordinance(db_obj_) + section += self.dump_ordinance(db_obj_, "Person") # return section to its caller return section