From bec07d4543ab26211f0f4e3937ccea9f55fb220e Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 18 Apr 2010 16:14:59 +0000 Subject: [PATCH] 3862: Narrative Web Report - Hyperlink on image regions no more clikable svn: r15220 --- src/plugins/webreport/NarrativeWeb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 17cf72162..3a616b9a8 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -1216,9 +1216,9 @@ class BasePage(object): if _obj: # what is the shortest possible name we could use for this person? _name = _obj.get_primary_name().get_call_name() - if not _name or _name == "": + if not _name: _name = _obj.get_primary_name().get_first_name() - _linkurl = self.report.build_url_fname_html(_obj.handle, "ppl", True) + _linkurl = self.report.build_url_fname_html(_obj.handle, "ppl", True) elif classname == "Family": _obj = db.get_family_from_handle( newhandle ) partner1_handle = _obj.get_father_handle()