diff --git a/inc/fields/actorfield.class.php b/inc/fields/actorfield.class.php index e1c26a770..fb48f3aac 100644 --- a/inc/fields/actorfield.class.php +++ b/inc/fields/actorfield.class.php @@ -118,7 +118,11 @@ public function displayField($canEdit = true) { } else { $user = new User(); $user->getFromDB($item); - $value[] = $user->getRawName(); + if (method_exists($user, 'getFriendlyName')) { + $value[] = $user->getFriendlyName(); + } else { + $value[] = $user->getRawName(); + } } } echo implode('
', $value);