diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-06-18 22:50:02 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-06-18 22:50:02 +0000 |
| commit | 7b5555fcb91bc9c05eb7627d2a39fae09b2ee31d (patch) | |
| tree | 36db3621d6748be5d0ad1ab5da9905543777f84f /includes/functions/functions_print.php | |
| parent | 85878acd867ac260743e4013e902b873c70181fd (diff) | |
| download | webtrees-7b5555fcb91bc9c05eb7627d2a39fae09b2ee31d.tar.gz webtrees-7b5555fcb91bc9c05eb7627d2a39fae09b2ee31d.tar.bz2 webtrees-7b5555fcb91bc9c05eb7627d2a39fae09b2ee31d.zip | |
Diffstat (limited to 'includes/functions/functions_print.php')
| -rw-r--r-- | includes/functions/functions_print.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index 112af90c05..7418327a30 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -1131,9 +1131,9 @@ function print_fact_notes($factrec, $level, $textOnly=false, $return=false) { $closeSpan = print_note_record($match[$j][1], $nlevel, $nrec, $textOnly, true); $data .= $closeSpan; } else { - if (displayDetailsById($nmatch[1], "NOTE")) { + $noterec = find_gedcom_record($nmatch[1], $ged_id); + if (canDisplayRecord($ged_id, $noterec)) { //-- print linked note records - $noterec = find_gedcom_record($nmatch[1], $ged_id); $nt = preg_match("/0 @$nmatch[1]@ NOTE (.*)/", $noterec, $n1match); $closeSpan = print_note_record(($nt>0)?$n1match[1]:"", 1, $noterec, $textOnly, true); $data .= $closeSpan; |
