summaryrefslogtreecommitdiff
path: root/individual.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2013-07-05 23:08:24 +0000
committerfisharebest <fisharebest@gmail.com>2013-07-05 23:08:24 +0000
commitdf17cb9eab0626e7875b8ae304177cc601579699 (patch)
treefd410004c1d3f782700afb306069504bb099a51f /individual.php
parent84a096530a4e36bb09c7b1db6b878d9ef4825570 (diff)
downloadwebtrees-df17cb9eab0626e7875b8ae304177cc601579699.tar.gz
webtrees-df17cb9eab0626e7875b8ae304177cc601579699.tar.bz2
webtrees-df17cb9eab0626e7875b8ae304177cc601579699.zip
The right place to check for privacy on facts is when we fetch them for viewing.
Diffstat (limited to 'individual.php')
-rw-r--r--individual.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/individual.php b/individual.php
index 08340bec54..adca5b4c3c 100644
--- a/individual.php
+++ b/individual.php
@@ -203,7 +203,7 @@ if ($controller->record->canShow()) {
// Display name details
foreach ($controller->record->getFacts() as $fact) {
- if ($fact->getTag() == 'NAME' && $fact->canShow()) {
+ if ($fact->getTag() == 'NAME') {
$controller->print_name_record($fact);
}
}