diff options
Diffstat (limited to 'includes/functions/functions_print_facts.php')
| -rw-r--r-- | includes/functions/functions_print_facts.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php index 2e63a83f26..859a8e8ae5 100644 --- a/includes/functions/functions_print_facts.php +++ b/includes/functions/functions_print_facts.php @@ -4,7 +4,7 @@ // Various printing functions used to print fact records // // webtrees: Web based Family History software -// Copyright (C) 2014 webtrees development team. +// Copyright (C) 2015 webtrees development team. // // Derived from PhpGedView // Copyright (C) 2002 to 2010 PGV Development Team. @@ -24,6 +24,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA use Rhumsaa\Uuid\Uuid; +use WT\Theme; use WT\User; /** @@ -149,7 +150,7 @@ function print_fact(WT_Fact $fact, WT_GedcomRecord $record) { echo '<td class="descriptionbox width20">'; if ($SHOW_FACT_ICONS) { - echo $fact->icon(), ' '; + echo Theme::theme()->icon($fact), ' '; } if ($fact->getFactId()!='histo' && $fact->canEdit()) { |
