diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-06-05 23:17:55 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-06-05 23:17:55 +0000 |
| commit | b96db0a9cd95975dbdd2f3299d9ca3f0bd8c7d96 (patch) | |
| tree | 6d859c1d8479918b197b8247b7be69189e361c04 /includes/functions/functions_db.php | |
| parent | f96744ecf9fb9b42239c500bf66730580ecb7e6a (diff) | |
| download | webtrees-b96db0a9cd95975dbdd2f3299d9ca3f0bd8c7d96.tar.gz webtrees-b96db0a9cd95975dbdd2f3299d9ca3f0bd8c7d96.tar.bz2 webtrees-b96db0a9cd95975dbdd2f3299d9ca3f0bd8c7d96.zip | |
Combine show_fact and show_fact_details. Part of simplification of privacy rules.
Diffstat (limited to 'includes/functions/functions_db.php')
| -rw-r--r-- | includes/functions/functions_db.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_db.php b/includes/functions/functions_db.php index 06e4a372dc..33cf574f3f 100644 --- a/includes/functions/functions_db.php +++ b/includes/functions/functions_db.php @@ -1945,7 +1945,7 @@ function get_anniversary_events($jd, $facts='', $ged_id=WT_GED_ID) { } else { $plac=''; } - if (showFactDetails($row['d_fact'], $row['xref']) && !FactViewRestricted($row['xref'], $factrec)) { + if (showFact($row['d_fact'], $row['xref']) && !FactViewRestricted($row['xref'], $factrec)) { $found_facts[]=array( 'record'=>$record, 'id'=>$row['xref'], @@ -2027,7 +2027,7 @@ function get_calendar_events($jd1, $jd2, $facts='', $ged_id=WT_GED_ID) { } else { $plac=''; } - if (showFactDetails($row[7], $row[0]) && !FactViewRestricted($row[0], $factrec)) { + if (showFact($row[7], $row[0]) && !FactViewRestricted($row[0], $factrec)) { $found_facts[]=array( 'id'=>$row[0], 'objtype'=>$row[2], |
