summaryrefslogtreecommitdiff
path: root/resources/views/modules/personal_facts/tab.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/modules/personal_facts/tab.phtml')
-rw-r--r--resources/views/modules/personal_facts/tab.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/views/modules/personal_facts/tab.phtml b/resources/views/modules/personal_facts/tab.phtml
index 9dc91df836..0cd79a265d 100644
--- a/resources/views/modules/personal_facts/tab.phtml
+++ b/resources/views/modules/personal_facts/tab.phtml
@@ -25,7 +25,7 @@
<?php FunctionsPrintFacts::printFact($fact, $individual) ?>
<?php endforeach ?>
- <?php if (empty($facts)) : ?>
+ <?php if ($facts->isEmpty()) : ?>
<tr>
<td colspan="2">
<?= I18N::translate('There are no facts for this individual.') ?>