summaryrefslogtreecommitdiff
path: root/includes/functions/functions_print_lists.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/functions/functions_print_lists.php')
-rw-r--r--includes/functions/functions_print_lists.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/functions/functions_print_lists.php b/includes/functions/functions_print_lists.php
index 60f895ddbe..771c8898a6 100644
--- a/includes/functions/functions_print_lists.php
+++ b/includes/functions/functions_print_lists.php
@@ -977,7 +977,13 @@ function format_sour_table($datalist) {
// Sortable name
$html .= '<td>'. strip_tags($source->getFullName()). '</td>';
//-- Author
- $html .= '<td>'. highlight_search_hits(htmlspecialchars($source->getAuth())). '</td>';
+ $auth = $source->getFactByType('AUTH');
+ if ($auth) {
+ $author = $auth->getValue();
+ } else {
+ $author = '';
+ }
+ $html .= '<td>'. highlight_search_hits($author). '</td>';
//-- Linked INDIs
$num=count($source->fetchLinkedIndividuals());
$html .= '<td>'. WT_I18N::number($num). '</td><td>'. $num. '</td>';