From 14557087016cde4ea07e31177323d50053058751 Mon Sep 17 00:00:00 2001 From: btry Date: Tue, 7 Aug 2018 16:57:50 +0200 Subject: [PATCH] fix(actors): use first / last name in generataed tickets also fallback to login if they are empty fix #1016 Signed-off-by: btry --- inc/fields/actorfield.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/fields/actorfield.class.php b/inc/fields/actorfield.class.php index 43e457082..f5fe0a2e1 100644 --- a/inc/fields/actorfield.class.php +++ b/inc/fields/actorfield.class.php @@ -212,7 +212,7 @@ protected function sanitizeValue($value) { $user->getFromDB($item); if (!$user->isNewItem()) { // A user known in the DB - $knownUsers[$user->getID()] = $user->getField('name'); + $knownUsers[$user->getID()] = $user->getRawName(); } } }